[PATCH v2] arm64: dts: mt8192: add efuse support for MT8192 SoC

Rob Herring robh+dt at kernel.org
Wed Dec 16 09:53:13 EST 2020


On Wed, Dec 16, 2020 at 5:00 AM <Yz.Wu at mediatek.com> wrote:
>
> From: Ryan Wu <Yz.Wu at mediatek.com>

Use get_maintainers.pl please.

>
> to read Mediatek efuse

Complete sentences?

>
> Signed-off-by: Ryan Wu <Yz.Wu at mediatek.com>
> ---
> This patch dependents on "arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile"[1]
>
> mt8192.dtsi file is needed for this patch.
> Please also accept this patch together with [1].
>
> [1]http://lists.infradead.org/pipermail/linux-mediatek/2020-November/019378.html
> ---
>  arch/arm64/boot/dts/mediatek/mt8192.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> index 69d45c7b31f1..55a805a61428 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> @@ -422,6 +422,13 @@
>                         #clock-cells = <1>;
>                 };
>
> +               efuse: efuse at 11c10000 {
> +                       compatible = "mediatek,efuse";

Needs SoC specific compatible and to be documented.

> +                       reg = <0 0x11c10000 0 0x1000>;

> +                       #address-cells = <1>;
> +                       #size-cells = <1>;

These aren't needed unless you have child nodes.

> +               };
> +
>                 i2c3: i2c3 at 11cb0000 {
>                         compatible = "mediatek,mt8192-i2c";
>                         reg = <0 0x11cb0000 0 0x1000>,
> --
> 2.18.0
>



More information about the Linux-mediatek mailing list