[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <829dc506-ca3d-174b-11dc-7b948e5344bb@gmail.com>
Date: Sun, 15 Dec 2019 00:40:23 +0100
From: Matthias Brugger <matthias.bgg@...il.com>
To: Macpaul Lin <macpaul.lin@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
Marc Zyngier <marc.zyngier@....com>,
Ryder Lee <ryder.lee@...iatek.com>,
Stephen Boyd <sboyd@...nel.org>,
Sean Wang <sean.wang@...iatek.com>,
Mars Cheng <mars.cheng@...iatek.com>,
Owen Chen <owen.chen@...iatek.com>,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: wsd_upstream@...iatek.com, CC Hwang <cc.hwang@...iatek.com>,
Loda Chou <loda.chou@...iatek.com>, devicetree@...r.kernel.org,
linux-serial@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH v6 3/8] dt-bindings: mediatek: add MT6765 power
dt-bindings
On 12/07/2019 11:43, Macpaul Lin wrote:
> From: Mars Cheng <mars.cheng@...iatek.com>
>
> This adds power dt-bindings for MT6765
>
> Signed-off-by: Mars Cheng <mars.cheng@...iatek.com>
> Signed-off-by: Owen Chen <owen.chen@...iatek.com>
> Signed-off-by: Macpaul Lin <macpaul.lin@...iatek.com>
> Reviewed-by: Rob Herring <robh@...nel.org>
Applied to v5.5-next/soc
Sorry for the delay
> ---
> .../devicetree/bindings/soc/mediatek/scpsys.txt | 6 ++++++
> include/dt-bindings/power/mt6765-power.h | 14 ++++++++++++++
> 2 files changed, 20 insertions(+)
> create mode 100644 include/dt-bindings/power/mt6765-power.h
>
> diff --git a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
> index 00eab7e6ff22..6109b4992522 100644
> --- a/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
> +++ b/Documentation/devicetree/bindings/soc/mediatek/scpsys.txt
> @@ -10,6 +10,7 @@ domain control.
> The driver implements the Generic PM domain bindings described in
> power/power_domain.txt. It provides the power domains defined in
> - include/dt-bindings/power/mt8173-power.h
> +- include/dt-bindings/power/mt6765-power.h
> - include/dt-bindings/power/mt6797-power.h
> - include/dt-bindings/power/mt2701-power.h
> - include/dt-bindings/power/mt2712-power.h
> @@ -20,6 +21,7 @@ Required properties:
> - compatible: Should be one of:
> - "mediatek,mt2701-scpsys"
> - "mediatek,mt2712-scpsys"
> + - "mediatek,mt6765-scpsys"
> - "mediatek,mt6797-scpsys"
> - "mediatek,mt7622-scpsys"
> - "mediatek,mt7623-scpsys", "mediatek,mt2701-scpsys": For MT7623 SoC
> @@ -38,6 +40,10 @@ Required properties:
> enabled before releasing bus protection.
> Required clocks for MT2701 or MT7623: "mm", "mfg", "ethif"
> Required clocks for MT2712: "mm", "mfg", "venc", "jpgdec", "audio", "vdec"
> + Required clocks for MT6765: MUX: "mm", "mfg"
> + CG: "mm-0", "mm-1", "mm-2", "mm-3", "isp-0",
> + "isp-1", "cam-0", "cam-1", "cam-2",
> + "cam-3","cam-4"
> Required clocks for MT6797: "mm", "mfg", "vdec"
> Required clocks for MT7622 or MT7629: "hif_sel"
> Required clocks for MT7623A: "ethif"
> diff --git a/include/dt-bindings/power/mt6765-power.h b/include/dt-bindings/power/mt6765-power.h
> new file mode 100644
> index 000000000000..d347b4ee9eed
> --- /dev/null
> +++ b/include/dt-bindings/power/mt6765-power.h
> @@ -0,0 +1,14 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +#ifndef _DT_BINDINGS_POWER_MT6765_POWER_H
> +#define _DT_BINDINGS_POWER_MT6765_POWER_H
> +
> +#define MT6765_POWER_DOMAIN_CONN 0
> +#define MT6765_POWER_DOMAIN_MM 1
> +#define MT6765_POWER_DOMAIN_MFG_ASYNC 2
> +#define MT6765_POWER_DOMAIN_ISP 3
> +#define MT6765_POWER_DOMAIN_MFG 4
> +#define MT6765_POWER_DOMAIN_MFG_CORE0 5
> +#define MT6765_POWER_DOMAIN_CAM 6
> +#define MT6765_POWER_DOMAIN_VCODEC 7
> +
> +#endif /* _DT_BINDINGS_POWER_MT6765_POWER_H */
>
Powered by blists - more mailing lists