[PATCH v6 4/7] arm64: dts: mediatek: Add MT8173 MMC dts

Eddie Huang eddie.huang at mediatek.com
Wed Jun 17 19:04:23 PDT 2015


Hi Dan,

On Tue, 2015-06-16 at 20:20 +0800, Daniel Kurtz wrote:
> On Tue, Jun 16, 2015 at 7:39 PM, Daniel Kurtz <djkurtz at chromium.org> wrote:
> > On Mon, Jun 15, 2015 at 7:20 PM, Chaotian Jing
> > <chaotian.jing at mediatek.com> wrote:
> >> From: Eddie Huang <eddie.huang at mediatek.com>
> >>
> >> Add node mmc0 ~ mmc3 for mt8173.dtsi
> >> Add node mmc0, mmc1 for mt8173-evb.dts
> >>
> >> Signed-off-by: Chaotian Jing <chaotian.jing at mediatek.com>
> >> Signed-off-by: Eddie Huang <eddie.huang at mediatek.com>
> >> ---
> >>  arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 126 ++++++++++++++++++++++++++++
> >>  arch/arm64/boot/dts/mediatek/mt8173.dtsi    |  45 +++++++++-
> >>  2 files changed, 170 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> >> index b1560c9..762ec61 100644
> >> --- a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> >> +++ b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts
> >> @@ -33,6 +33,132 @@
> >>         chosen { };
> >>  };
> >>
> >> +&mmc0 {
> >> +       pinctrl-names = "default", "state_uhs";
> >> +       pinctrl-0 = <&mmc0_pins_default>;
> >> +       pinctrl-1 = <&mmc0_pins_uhs>;
> >> +       status = "okay";
> >> +       bus-width = <8>;
> >> +       max-frequency = <50000000>;
> >> +       cap-mmc-highspeed;
> >> +       vmmc-supply = <&mt6397_vemc_3v3_reg>;
> >> +       vqmmc-supply = <&mt6397_vio18_reg>;
> 
> I also can't find phandles for these regulators.
> 
> >> +       non-removable;
> >> +};
> >> +
> >> +&mmc1 {
> >> +       pinctrl-names = "default", "state_uhs";
> >> +       pinctrl-0 = <&mmc1_pins_default>;
> >> +       pinctrl-1 = <&mmc1_pins_uhs>;
> >> +       status = "okay";
> >> +       bus-width = <4>;
> >> +       max-frequency = <50000000>;
> >> +       cap-sd-highspeed;
> >> +       sd-uhs-sdr25;
> >> +       cd-gpios = <&pio 132 0>;
> >> +       vmmc-supply = <&mt6397_vmch_reg>;
> >> +       vqmmc-supply = <&mt6397_vmc_reg>;
> 
> nor these regulators.
> 
> Which kernel branch are you basing your patch set on?
> 
It is based on 4.1-rc1, and Sascha's regulator dts patch.
[3/4] ARM: dts: mt8135-evbp1: Add PMIC support:
https://patchwork.kernel.org/patch/6261161/

Eddie
Thanks







More information about the Linux-mediatek mailing list