[PATCH v6 5/5] soc: imx: imx6sx-gpr: Introduce a GPR driver

Fabio Estevam festevam at gmail.com
Tue May 23 14:13:34 PDT 2023


Hi Marek,

On Tue, May 23, 2023 at 10:32 AM Marek Vasut <marex at denx.de> wrote:

> It might be simple to add this functionality to the core, could you
> please take a quick look ?

If I do the following change:

--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -842,7 +842,7 @@ iomuxc: pinctrl at 20e0000 {
                        };

                        gpr: syscon at 20e4000 {
-                               compatible = "fsl,imx6sx-iomuxc-gpr", "syscon";
+                               compatible = "fsl,imx6sx-iomuxc-gpr",
"syscon", "simple-mfd";
                                #address-cells = <1>;
                                #size-cells = <1>;
                                reg = <0x020e4000 0x4000>;

Then I can get rid of this drivers/soc/imx/imx6sx-gpr.c completely.

Would you agree with this approach?



More information about the linux-arm-kernel mailing list