devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4 v5] rk808: Convert bindings to yaml
@ 2022-03-03 20:39 Chris Morgan
  2022-03-03 20:39 ` [PATCH 1/4 v5] arm64: dts: rockchip: Remove vcc13 and vcc14 for rk808 Chris Morgan
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Chris Morgan @ 2022-03-03 20:39 UTC (permalink / raw)
  To: devicetree
  Cc: linux-rockchip, lee.jones, robh+dt, heiko, strit, mbrugger,
	arnaud.ferraris, knaerzche, zyw, zhangqing, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Convert the rk808 bindings into yaml format. In order to accomplish
this some bindings for the rk809 had to be updated to remove
non-existent vcc inputs. Additionally, some bindings for the rk805
needed to be updated to add a now-mandatory #clock-cells value, and
a regulator for a board using the rk818 PMIC needed to be renamed.

Changes from V4:
 - The latest version of yamllint, dt_binding_check, and dtbs_check now
   return no errors for arm and arm64.
 - Added DCDC_BOOST regulator for rk818 to documentation.
 - Renamed regulator for rk3188-px3-evb from SWITCH_REG1 to SWITCH_REG
   to match driver and other rk818 boards.

Changes from V3:
 - yamllint, dt_binding_check, and dtbs_check now returns no errors for
   arm and arm64.
 - Updated rk809 bindings for the rk3399-pinebook-pro and the
   rk3399-roc-pc to remove regulator inputs vcc13 and vcc14. These are
   not valid regulators and appear to be holdovers from the original
   rk3399 schematic.
 - Updated rk805 bindings for the rv1108-elgin-r1, rv1108-evb, and
   rk3328-a1 to add a now mandatory #clock-cells parameter.
 - Made clock-output-names for rk805, rk809, and rk817 a max of 2 if
   the #clock-cells is 1, and a max of 1 if the #clock-cells is 0.
   Even though these PMICs only support a single clock output enforcing
   this in the schema would require us to modify the driver.

Changes from V2:
 - Dropped language about battery. I'm keeping the commits entirely
   separate.
 - Added vddio-supply for rk809 and rk818, since after examining the
   datasheet I can confirm such a supply exists.

Changes from V1:
 - Removed generic descriptions.
 - Added maxItems to clock-output-names. Max items is 2 per the driver.
 - Added unevaluatedProperties as false to regulators.
 - Correct i2c node.
 - Added note about the battery.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>

Chris Morgan (4):
  arm64: dts: rockchip: Remove vcc13 and vcc14 for rk808
  dts: rockchip: Add #clock-cells value for rk805
  dts: rockchip: Update regulator name for PX3
  dt-bindings: mfd: rk808: Convert bindings to yaml

 .../devicetree/bindings/mfd/rk808.txt         | 465 ------------------
 .../bindings/mfd/rockchip,rk805.yaml          | 219 +++++++++
 .../bindings/mfd/rockchip,rk808.yaml          | 257 ++++++++++
 .../bindings/mfd/rockchip,rk809.yaml          | 284 +++++++++++
 .../bindings/mfd/rockchip,rk817.yaml          | 330 +++++++++++++
 .../bindings/mfd/rockchip,rk818.yaml          | 282 +++++++++++
 arch/arm/boot/dts/rk3188-px3-evb.dts          |   2 +-
 arch/arm/boot/dts/rv1108-elgin-r1.dts         |   1 +
 arch/arm/boot/dts/rv1108-evb.dts              |   1 +
 arch/arm64/boot/dts/rockchip/rk3328-a1.dts    |   1 +
 .../boot/dts/rockchip/rk3399-pinebook-pro.dts |   2 -
 .../boot/dts/rockchip/rk3399-roc-pc.dtsi      |   2 -
 12 files changed, 1376 insertions(+), 470 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mfd/rk808.txt
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml
 create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk818.yaml

-- 
2.25.1


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

end of thread, other threads:[~2022-03-05 17:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-03 20:39 [PATCH 0/4 v5] rk808: Convert bindings to yaml Chris Morgan
2022-03-03 20:39 ` [PATCH 1/4 v5] arm64: dts: rockchip: Remove vcc13 and vcc14 for rk808 Chris Morgan
2022-03-03 20:39 ` [PATCH 2/4 v5] dts: rockchip: Add #clock-cells value for rk805 Chris Morgan
2022-03-03 20:39 ` [PATCH 3/4 v5] dts: rockchip: Update regulator name for PX3 Chris Morgan
2022-03-04 13:47   ` Robin Murphy
2022-03-03 20:39 ` [PATCH 4/4 v5] dt-bindings: mfd: rk808: Convert bindings to yaml Chris Morgan
2022-03-04  2:56   ` Rob Herring
2022-03-05 17:35 ` (subset) [PATCH 0/4 v5] " Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).