Message ID | 20230113-syscon-child-mfd-v1-0-0dd31b7de373@pengutronix.de |
---|---|
Headers | show |
Series | Support Child MFD Cells for the i.MX6QDL Reset Controller | expand |
On 13/01/2023 18:32, Bastian Krause wrote: > This allows passing the reboot mode from the OS to the bootloader via the > syscon-reboot-mode binding. Add a "simple-mfd" to support probing such a > child node. The actual reboot mode node could then be defined in a > board device-tree or fixed up by the bootloader. > > Suggested-by: Ahmad Fatoum <a.fatoum@pengutronix.de> > Signed-off-by: Bastian Krause <bst@pengutronix.de> > --- > Documentation/devicetree/bindings/reset/fsl,imx-src.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml b/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml > index b11ac533f914c..9ec734e14e9f5 100644 > --- a/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml > +++ b/Documentation/devicetree/bindings/reset/fsl,imx-src.yaml > @@ -38,6 +38,8 @@ properties: > - items: > - const: "fsl,imx6q-src" > - const: "fsl,imx51-src" > + - const: "syscon" > + - const: "simple-mfd" 1. Why only this variant can be used as suscon-reboot-mode and not others? 2. Drop quotes. In a follow up patch you can also remove quotes from other compatibles. Best regards, Krzysztof
Allow passing the reboot mode from the OS to the bootloader via the syscon-reboot-mode binding. Add a "simple-mfd" to support probing such a child node. The actual reboot mode node could then be defined in a board device-tree or fixed up by the bootloader. To: Philipp Zabel <p.zabel@pengutronix.de> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Shawn Guo <shawnguo@kernel.org> To: Sascha Hauer <s.hauer@pengutronix.de> To: Pengutronix Kernel Team <kernel@pengutronix.de> To: Fabio Estevam <festevam@gmail.com> To: NXP Linux Team <linux-imx@nxp.com> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Bastian Krause <bst@pengutronix.de> --- Bastian Krause (2): dt-bindings: reset: imx-src: add syscon and simple-mfd compatibles ARM: dts: imx6qdl: support child mfd cells for the reset controller Documentation/devicetree/bindings/reset/fsl,imx-src.yaml | 2 ++ arch/arm/boot/dts/imx6qdl.dtsi | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230113-syscon-child-mfd-d95f324c8bbf Best regards,