From: Chris Morgan <macroalpha82@gmail.com>
To: devicetree@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org, lee.jones@linaro.org,
robh+dt@kernel.org, heiko@sntech.de, strit@manjaro.org,
mbrugger@suse.com, arnaud.ferraris@collabora.com,
knaerzche@gmail.com, zyw@rock-chips.com,
zhangqing@rock-chips.com, Chris Morgan <macromorgan@hotmail.com>
Subject: [PATCH 0/3 v4] rk808: Convert bindings to yaml
Date: Wed, 2 Mar 2022 17:26:09 -0600 [thread overview]
Message-ID: <20220302232612.25455-1-macroalpha82@gmail.com> (raw)
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.
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 (3):
arm64: dts: rockchip: Remove vcc13 and vcc14 for rk808
dts: rockchip: Add #clock-cells value for rk805
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/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 -
11 files changed, 1375 insertions(+), 469 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
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next reply other threads:[~2022-03-02 23:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-02 23:26 Chris Morgan [this message]
2022-03-02 23:26 ` [PATCH 1/3 v4] arm64: dts: rockchip: Remove vcc13 and vcc14 for rk808 Chris Morgan
2022-03-03 11:57 ` Robin Murphy
2022-03-02 23:26 ` [PATCH 2/3 v4] dts: rockchip: Add #clock-cells value for rk805 Chris Morgan
2022-03-03 11:58 ` Robin Murphy
2022-03-02 23:26 ` [PATCH 3/3 v4] dt-bindings: mfd: rk808: Convert bindings to yaml Chris Morgan
2022-03-03 13:44 ` Rob Herring
2022-03-03 19:18 ` Chris Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220302232612.25455-1-macroalpha82@gmail.com \
--to=macroalpha82@gmail.com \
--cc=arnaud.ferraris@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=knaerzche@gmail.com \
--cc=lee.jones@linaro.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=macromorgan@hotmail.com \
--cc=mbrugger@suse.com \
--cc=robh+dt@kernel.org \
--cc=strit@manjaro.org \
--cc=zhangqing@rock-chips.com \
--cc=zyw@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).