All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/16] dt-bindings: mfd: rohm,bd71847-pmic: Correct clock properties requirements
@ 2020-08-24 19:06 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 87+ messages in thread
From: Krzysztof Kozlowski @ 2020-08-24 19:06 UTC (permalink / raw)
  To: Lee Jones, Rob Herring, Miquel Raynal, Richard Weinberger,
	Vignesh Raghavendra, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Adam Ford, Daniel Baluta, Anson Huang, Robin Gong, Li Jun,
	Matti Vaittinen, Han Xu, devicetree, linux-kernel, linux-mtd,
	linux-arm-kernel
  Cc: Krzysztof Kozlowski

The input clock and number of clock provider cells are not required for
the PMIC to operate.  They are needed only for the optional bd718x7
clock driver.

Add also clock-output-names as driver takes use of it.

This fixes dtbs_check warnings like:

    arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dt.yaml: pmic@4b: 'clocks' is a required property
    arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dt.yaml: pmic@4b: '#clock-cells' is a required property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../devicetree/bindings/mfd/rohm,bd71847-pmic.yaml       | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
index 77bcca2d414f..5d531051a153 100644
--- a/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
@@ -38,6 +38,9 @@ properties:
   "#clock-cells":
     const: 0
 
+  clock-output-names:
+    maxItems: 1
+
 # The BD71847 abd BD71850 support two different HW states as reset target
 # states. States are called as SNVS and READY. At READY state all the PMIC
 # power outputs go down and OTP is reload. At the SNVS state all other logic
@@ -116,12 +119,14 @@ required:
   - compatible
   - reg
   - interrupts
-  - clocks
-  - "#clock-cells"
   - regulators
 
 additionalProperties: false
 
+dependencies:
+  '#clock-cells': [clocks]
+  clocks: ['#clock-cells']
+
 examples:
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 87+ messages in thread

end of thread, other threads:[~2020-08-25  9:37 UTC | newest]

Thread overview: 87+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24 19:06 [PATCH 01/16] dt-bindings: mfd: rohm,bd71847-pmic: Correct clock properties requirements Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 01/16] dt-bindings: mfd: rohm, bd71847-pmic: " Krzysztof Kozlowski
2020-08-24 19:06 ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 02/16] dt-bindings: mtd: gpmi-nand: Fix matching of clocks on different SoCs Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-25  6:40   ` Sascha Hauer
2020-08-25  6:40     ` Sascha Hauer
2020-08-25  6:40     ` Sascha Hauer
2020-08-25  6:49     ` Krzysztof Kozlowski
2020-08-25  6:49       ` Krzysztof Kozlowski
2020-08-25  6:49       ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 03/16] arm64: dts: imx8mm-beacon-som.dtsi: Align regulator names with schema Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-25  6:51   ` Vaittinen, Matti
2020-08-25  6:51     ` Vaittinen, Matti
2020-08-25  6:51     ` Vaittinen, Matti
2020-08-25  7:25     ` krzk
2020-08-25  7:25       ` krzk
2020-08-25  7:25       ` krzk
2020-08-25  7:45       ` krzk
2020-08-25  7:45         ` krzk
2020-08-25  7:45         ` krzk
2020-08-25  7:50         ` krzk
2020-08-25  7:50           ` krzk
2020-08-25  7:50           ` krzk
2020-08-25  8:22           ` Vaittinen, Matti
2020-08-25  8:22             ` Vaittinen, Matti
2020-08-25  8:22             ` Vaittinen, Matti
2020-08-25  8:27             ` krzk
2020-08-25  8:27               ` krzk
2020-08-25  8:27               ` krzk
2020-08-25  9:35               ` Vaittinen, Matti
2020-08-25  9:35                 ` Vaittinen, Matti
2020-08-25  9:35                 ` Vaittinen, Matti
2020-08-25  8:29   ` Krzysztof Kozlowski
2020-08-25  8:29     ` Krzysztof Kozlowski
2020-08-25  8:29     ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 04/16] arm64: dts: imx8mm-beacon-baseboard: Correct SPI CS polarity Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 20:07   ` Fabio Estevam
2020-08-24 20:07     ` Fabio Estevam
2020-08-24 20:07     ` Fabio Estevam
2020-08-24 19:06 ` [PATCH 05/16] arm64: dts: imx8mm-beacon: Align pin configuration group names with schema Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 06/16] arm64: dts: imx8mm-evk: Add 32.768 kHz clock to PMIC Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 07/16] arm64: dts: imx8mm-evk: Align pin configuration group names with schema Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 08/16] arm64: dts: imx8mm-ddr4-evk: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 09/16] arm64: dts: imx8mn-evk: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 10/16] arm64: dts: imx8mq-evk: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 11/16] arm64: dts: imx8mq-librem5-devkit: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 12/16] arm64: dts: imx8mq-phanbell: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 13/16] arm64: dts: imx8mq-pico-pi: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06 ` [PATCH 14/16] arm64: dts: imx8mq-sr-som: " Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:06   ` Krzysztof Kozlowski
2020-08-24 19:07 ` [PATCH 15/16] arm64: dts: imx8mq-hummingboard-pulse: " Krzysztof Kozlowski
2020-08-24 19:07   ` Krzysztof Kozlowski
2020-08-24 19:07   ` Krzysztof Kozlowski
2020-08-24 19:07 ` [PATCH 16/16] arm64: dts: imx8qxp-colibri: " Krzysztof Kozlowski
2020-08-24 19:07   ` Krzysztof Kozlowski
2020-08-24 19:07   ` Krzysztof Kozlowski
2020-08-25  6:23 ` [PATCH 01/16] dt-bindings: mfd: rohm,bd71847-pmic: Correct clock properties requirements Vaittinen, Matti
2020-08-25  6:23   ` [PATCH 01/16] dt-bindings: mfd: rohm, bd71847-pmic: " Vaittinen, Matti
2020-08-25  6:23   ` Vaittinen, Matti
2020-08-25  6:55   ` [PATCH 01/16] dt-bindings: mfd: rohm,bd71847-pmic: " krzk
2020-08-25  6:55     ` [PATCH 01/16] dt-bindings: mfd: rohm, bd71847-pmic: " krzk
2020-08-25  6:55     ` krzk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.