Tim Harvey
9a096a813a
dt-bindings: mfd: gateworks-gsc: Remove unnecessary fan-controller nodes
...
Remove the unnecessary #address-cells and #size-cells nodes from
the fan-controller. These are not needed as the fan controller does not
have any children.
Signed-off-by: Tim Harvey <tharvey@gateworks.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://lore.kernel.org/r/20230612162444.3936302-1-tharvey@gateworks.com
Signed-off-by: Lee Jones <lee@kernel.org >
2023-06-21 16:09:16 +01:00
Rob Herring
42839dcafd
dt-bindings: mfd: Add missing (unevaluated|additional)Properties on child nodes
...
In order to ensure only documented properties are present, node schemas
must have unevaluatedProperties or additionalProperties set to false
(typically).
Signed-off-by: Rob Herring <robh@kernel.org >
Acked-by: Heiko Stuebner <heiko@sntech.de >
Acked-by: Alistair Francis <alistair@alistair23.me >
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com >
Acked-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20220823145649.3118479-4-robh@kernel.org
2022-09-28 16:17:40 +01:00
Krzysztof Kozlowski
3156c50fda
dt-bindings: Drop Robert Jones
...
Emails to Robert Jones bounce ("550 5.2.1 The email account that you
tried to reach is disabled").
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Acked-by: Lee Jones <lee@kernel.org >
Signed-off-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20220809162752.10186-5-krzysztof.kozlowski@linaro.org
2022-08-12 11:13:32 -06:00
Tim Harvey
c239fea18e
dt-bindings: mfd: gateworks-gsc: Add fan-tach mode
...
In 7497d4a66c ("hwmon: (gsc-hwmon) add fan sensor") a mode
was added to report RPM's from a fan tach input.
Add this mode to the dt-bindings for the Gateworks System Controller.
Signed-off-by: Tim Harvey <tharvey@gateworks.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2021-02-08 13:54:18 +00:00
Linus Torvalds
1a31c12371
Merge tag 'mfd-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
...
Pull MFD updates from Lee Jones:
"New Drivers:
- Add support for initialising shared (between children) Regmaps
- Add support for Kontron SL28CPLD
- Add support for ENE KB3930 Embedded Controller
- Add support for Intel FPGA PAC MAX 10 BMC
New Device Support:
- Add support for Power to Ricoh RN5T618
- Add support for UART to Intel Lakefield
- Add support for LP87524_Q1 to Texas Instruments LP87565
New Functionality:
- Device Tree; ene-kb3930, sl28cpld, syscon, lp87565, lp87524-q1
- Use new helper dev_err_probe(); madera-core, stmfx, wcd934x
- Use new GPIOD API; dm355evm_msp
- Add wake-up capability; sprd-sc27xx-spi
- Add ACPI support; kempld-core
Fix-ups:
- Trivial (spelling/whitespace); Kconfig, ab8500
- Fix for unused variables; khadas-mcu, kempld-core
- Remove unused header file(s); mt6360-core
- Use correct IRQ flags in docs; act8945a, gateworks-gsc, rohm,bd70528-pmic
- Add COMPILE_TEST support; asic3, tmio_core
- Add dependency on I2C; SL28CPLD
Bug Fixes:
- Fix memory leak(s); sm501
- Do not free regmap_config's 'name' until exit; syscon"
* tag 'mfd-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (34 commits)
mfd: kempld-core: Fix unused variable 'kempld_acpi_table' when !ACPI
mfd: sl28cpld: Depend on I2C
mfd: asic3: Build if COMPILE_TEST=y
dt-bindings: mfd: Correct interrupt flags in examples
mfd: Add ACPI support to Kontron PLD driver
mfd: intel-m10-bmc: Add Intel MAX 10 BMC chip support for Intel FPGA PAC
mfd: lp87565: Add LP87524-Q1 variant
dt-bindings: mfd: Add LP87524-Q1
dt-bindings: mfd: lp87565: Convert to yaml
mfd: mt6360: Remove unused include <linux/version.h>
mfd: sm501: Fix leaks in probe()
mfd: syscon: Don't free allocated name for regmap_config
dt-bindings: mfd: syscon: Document Exynos3 and Exynos5433 compatibles
dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings
dt-bindings: mfd: ab8500: Remove weird Unicode characters
mfd: sprd: Add wakeup capability for PMIC IRQ
mfd: intel-lpss: Add device IDs for UART ports for Lakefield
mfd: dm355evm_msp: Convert LEDs to GPIO descriptor table
mfd: wcd934x: Simplify with dev_err_probe()
mfd: stmfx: Simplify with dev_err_probe()
...
2020-10-14 15:56:58 -07:00
Rob Herring
5be478f9c2
dt-bindings: Another round of adding missing 'additionalProperties'
...
Another round of wack-a-mole. The json-schema default is additional
unknown properties are allowed, but for DT all properties should be
defined.
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Stephen Boyd <sboyd@kernel.org >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Bjorn Andersson <bjorn.andersson@linaro.org >
Cc: Baolin Wang <baolin.wang7@gmail.com >
Cc: Mauro Carvalho Chehab <mchehab@kernel.org >
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com >
Cc: "David S. Miller" <davem@davemloft.net >
Cc: Bjorn Helgaas <bhelgaas@google.com >
Cc: Liam Girdwood <lgirdwood@gmail.com >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Acked-by: Lee Jones <lee.jones@linaro.org >
Acked-by: Ulf Hansson <ulf.hansson@linaro.org >
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com > # for iio
Acked-by: Thierry Reding <treding@nvidia.com >
Acked-by: Mark Brown <broonie@kernel.org >
Reviewd-by: Corey Minyard <cminyard@mvista.com >
Acked-by: Pavel Machek <pavel@ucw.cz >
Acked-by: Sebastian Reichel <sre@kernel.org >
Link: https://lore.kernel.org/r/20201002234143.3570746-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org >
2020-10-06 10:55:25 -05:00
Krzysztof Kozlowski
b727db94e3
dt-bindings: mfd: Correct interrupt flags in examples
...
GPIO_ACTIVE_x flags are not correct in the context of interrupt flags.
These are simple defines so they could be used in DTS but they will not
have the same meaning:
1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE
2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING
Correct the interrupt flags, assuming the author of the code wanted same
logical behavior behind the name "ACTIVE_xxx", this is:
ACTIVE_LOW => IRQ_TYPE_LEVEL_LOW
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org >
Acked-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com > # for BD70528
Acked-by: Tim Harvey <tharvey@gateworks.com > # for gateworks-gsc.yaml
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2020-09-30 17:46:29 +01:00
Linus Torvalds
b07175dc41
Merge tag 'devicetree-fixes-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
...
Pull devicetree fixes from Rob Herring:
"Another round of 'allOf' removals and whitespace clean-ups of schemas"
* tag 'devicetree-fixes-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
dt-bindings: Remove more cases of 'allOf' containing a '$ref'
dt-bindings: Whitespace clean-ups in schema files
2020-08-15 08:19:58 -07:00
Rob Herring
f516fb704d
dt-bindings: Whitespace clean-ups in schema files
...
Clean-up incorrect indentation, extra spaces, long lines, and missing
EOF newline in schema files. Most of the clean-ups are for list
indentation which should always be 2 spaces more than the preceding
keyword.
Found with yamllint (which I plan to integrate into the checks).
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-clk@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-spi@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-remoteproc@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-i2c@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: linux-media@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: linux-rtc@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org >
Signed-off-by: Rob Herring <robh@kernel.org >
2020-08-14 08:55:58 -06:00
Tim Harvey
ad738ddd50
dt-bindings: mfd: gateworks-gsc: Add 16bit pre-scaled voltage mode
...
Add a 16-bit pre-scaled voltage mode to ADC and clarify that existing
pre-scaled mode is 24bit.
Signed-off-by: Tim Harvey <tharvey@gateworks.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2020-06-18 11:23:16 +01:00
Tim Harvey
3e6cae8e5d
dt-bindings: mfd: Add Gateworks System Controller bindings
...
This patch adds documentation of device-tree bindings for the
Gateworks System Controller (GSC).
Signed-off-by: Tim Harvey <tharvey@gateworks.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
2020-05-20 10:28:51 +01:00