[PATCH] arm64: dts: imx8mq: add defines for IOMUXC_SW_PAD_CTL register values

Rob Herring robh at kernel.org
Thu Oct 28 19:14:37 PDT 2021


On Sun, 24 Oct 2021 17:28:32 +0200, Sascha Silbe wrote:
> The IOMUXC_SW_PAD_CTL_* registers on i.MX8M Dual/QuadLite/Quad all
> have the same basic structure. Add defines for a common subset
> supported by most of the registers. They can be used in Device Tree
> source files instead of magic values, making the sources a lot more
> readable and easier to write as well.
> 
> Signed-off-by: Sascha Silbe <x-linux at se-silbe.de>
> ---
>  .../arm64/boot/dts/freescale/imx8mq-pinfunc.h | 28 +++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> The board I'm using this for is an out-of-tree prototype. If there's
> interest I can convert the in-tree DTS files. I have don't have any of
> those boards but comparing the built DTBs before vs. after the change
> should be sufficient.
> 
> 

Acked-by: Rob Herring <robh at kernel.org>



More information about the linux-arm-kernel mailing list