Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6592970rwb; Wed, 18 Jan 2023 07:07:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXs7hi9Q6+w7VG8XONeq+0MO+lpAWtFlF8ZQazvcGjt+qPDRvrxIkekHG/pYTOXPw5XXeOeR X-Received: by 2002:a05:6a20:e615:b0:b6:55e:caa0 with SMTP id my21-20020a056a20e61500b000b6055ecaa0mr7645898pzb.17.1674054442621; Wed, 18 Jan 2023 07:07:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674054442; cv=none; d=google.com; s=arc-20160816; b=TDF6VLhJ5XgrEbUdAGnFSltBbPbOyO2scN89ERXvMUse7VVGOIOfbaqwD3Mom2w0kJ 3rB5VvrrCQwT4uakItGbROmyODVxlBSyfwn2NYLeagSWk5JkOAAQTE7Pismtv0EtQt2z wwQPiV+jG/EZ5z9ccEvLMPXVpXwuGNv67mp0VCLeTT+re3e4NQEK8KPBz2ZMm+v5s7WN 7jWxmKKLzfWSwTTrr2t4gZxNwaLNAAMgZ6bEhmtJWDg9E1Zdl4j2/LgRm5rqUmtjhfqO PEKIeobrE/oL2a3QNaEVy7y/1R/0RtFUJl0KVd8PIYZNpPtRwHpdqh0EqTYDuvNHVCt7 07eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3DIEaQSu9A6rK44S+Lin2wD16o6zDolOKPsI+dW81jE=; b=Q8IQWZc7aV+cbY9ahlbR2LMzqeCB80X9xGR/U49H4KOZIyRkKodMDYl1RN9/oFhE5B 9iuvZ1AUIsS2v24Zf+kbe2fzQ61RsWuOC+sJh/iIs1fl1qDyulot6jIZvcKNCQ3211bz ekr7rKqm46W2sx9c0j3hSNJtBK8U+UEXCtmBpZcT0FH7cdT4yDl8Tm9/eiE6as+n5xVp 76YaxngDbWiy9Ew4AOccaO1I3J17l4LsjHP+kMsK1lgZFQe00xMohpVLFSerpFwFaPiF ip9Uz8AmKTn/iCQhnmOUFFsyMCh37Nc6Xy9MwmnkcTBGmK37FDv2ztqP7iA/ytzi01bT jCKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e66ofyna; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u18-20020a63df12000000b0043ca0a1f7dasi36702279pgg.674.2023.01.18.07.07.16; Wed, 18 Jan 2023 07:07:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e66ofyna; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229511AbjAROul (ORCPT + 45 others); Wed, 18 Jan 2023 09:50:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231701AbjAROuH (ORCPT ); Wed, 18 Jan 2023 09:50:07 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D697238009 for ; Wed, 18 Jan 2023 06:43:00 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id hw16so71913236ejc.10 for ; Wed, 18 Jan 2023 06:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3DIEaQSu9A6rK44S+Lin2wD16o6zDolOKPsI+dW81jE=; b=e66ofynaqkI0D/+p0GJ4kEJpcuVhylsCLVYGDUv+EievkI5Kc8qavkF84WuqjYbZNm raeLrA217XRYd3axjj1vWJYdGAHV64ufrbXSICCebZmsqIPKlRUvUiQdOxnO9Pl/XTXZ IXuG0ZVDRnSKpuLPuCALT2BQz6IbQpA6FAilWsARqC/wwx3T3DHafI0pKuue3h94avO7 V0riwdVZMk5GbkzFgrA0mpLaKLVXzNFZVS07myt1mpNS+JgAhFn63kMZ97bvmGp25z4Z W7cpbsqDkMNVFGiLchnrD4F7Gk6Jk8Z+GMaNf05LEDQm7oJg9wysaP/nYSGNUc7FRTvx 5MxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3DIEaQSu9A6rK44S+Lin2wD16o6zDolOKPsI+dW81jE=; b=QXtpG5x11foA6uF4GTwwk4z8im6lzIAmAL9Gzai1Y0O+pMsLoN3TOyuGBFMRiI7V6l 1kCrT0Zl8g7MADTmqPcA2gZGRo4fNPTCk1+1+ChpO1mNmtu3WI8LvrackfItGXBn3Cyx 2K40bzLr3890o6d9/XeI9uzgJn/Tya0utHiA2GmLY37r2ye6KRDRmutiJmICLJ45HiPW /TBKA/tWm3UX+3jfMgZ9eQi3c1mZqM7hywtgc9Bnk/VOPlmgJbM/mwFW4aexCyq0JGBE s/z07eL+dD6tyEGzi91XO7sW9qvS7RO8xcWrt3sI+rEvyfB2jwXMOLHZzBYQjgqXzk+j YJNQ== X-Gm-Message-State: AFqh2kopep5gsWs7IbVxWOw4g6jNB1QKDKUAhP9CJeGx53vyseq8BEuQ DypHyJxX+ho+7hn4ifx0vweS8A== X-Received: by 2002:a17:907:1110:b0:872:bb39:a6e1 with SMTP id qu16-20020a170907111000b00872bb39a6e1mr6641388ejb.52.1674052978833; Wed, 18 Jan 2023 06:42:58 -0800 (PST) Received: from [192.168.1.101] (abxh252.neoplus.adsl.tpnet.pl. [83.9.1.252]) by smtp.gmail.com with ESMTPSA id n12-20020a1709062bcc00b007ae38d837c5sm15095577ejg.174.2023.01.18.06.42.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 06:42:58 -0800 (PST) Message-ID: Date: Wed, 18 Jan 2023 15:42:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 8/8] arm64: dts: qcom: Add msm8939 Sony Xperia M4 Aqua Content-Language: en-US To: Bryan O'Donoghue , agross@kernel.org, andersson@kernel.org, djakov@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, benl@squareup.com, shawn.guo@linaro.org, fabien.parent@linaro.org, leo.yan@linaro.org, dmitry.baryshkov@linaro.org References: <20230117024846.1367794-1-bryan.odonoghue@linaro.org> <20230117024846.1367794-9-bryan.odonoghue@linaro.org> From: Konrad Dybcio In-Reply-To: <20230117024846.1367794-9-bryan.odonoghue@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.01.2023 03:48, Bryan O'Donoghue wrote: > Add a basic booting DTS for the Sony Xperia M4 Aqua aka "tulip". > > Tulip is paired with: > > - wcn3660 > - smb1360 battery charger > - 720p Truly NT35521 Panel > > Signed-off-by: Bryan O'Donoghue > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/apq8039-t2.dts | 2 - > .../qcom/msm8939-sony-xperia-kanuti-tulip.dts | 466 ++++++++++++++++++ > 3 files changed, 467 insertions(+), 2 deletions(-) > create mode 100644 arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 5c47d1fb50b01..8b9fa1deadbe0 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -24,6 +24,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-grandmax.dtb > dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-j5.dtb > dtb-$(CONFIG_ARCH_QCOM) += msm8916-samsung-serranove.dtb > dtb-$(CONFIG_ARCH_QCOM) += msm8916-wingtech-wt88047.dtb > +dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb > dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb > dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb > dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtb > diff --git a/arch/arm64/boot/dts/qcom/apq8039-t2.dts b/arch/arm64/boot/dts/qcom/apq8039-t2.dts > index 21f5a21f76135..ee04cf294179f 100644 > --- a/arch/arm64/boot/dts/qcom/apq8039-t2.dts > +++ b/arch/arm64/boot/dts/qcom/apq8039-t2.dts > @@ -491,8 +491,6 @@ pm8916_l18: l18 { > }; > > &sdhc_1 { > - vmmc-supply = <&pm8916_l8>; > - vqmmc-supply = <&pm8916_l5>; > pinctrl-names = "default", "sleep"; > pinctrl-0 = <&sdc1_default_state>; > pinctrl-1 = <&sdc1_sleep_state>; This hunk doesn't belong in this patch.. > diff --git a/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts b/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts > new file mode 100644 > index 0000000000000..ffe3ea17dcae2 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts > @@ -0,0 +1,466 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2015, The Linux Foundation. All rights reserved. > + * Copyright (c) 2022-2023, Bryan O'Donoghue. > + * > + */ > + > +/dts-v1/; > + > +#include "msm8939.dtsi" > +#include "msm8939-pm8916.dtsi" > +#include > +#include > + > +/ { > + model = "Sony Xperia M4 Aqua"; > + compatible = "sony,kanuti-tulip", "qcom,msm8939"; > + > + qcom,board-id = <8 0>; > + qcom,msm-id = <239 0>, <239 0x30000>, <241 0x30000>, <263 0x30000>; > + > + aliases { > + mmc0 = &sdhc_1; /* SDC1 eMMC slot */ > + mmc1 = &sdhc_2; /* SDC2 SD card slot */ > + serial0 = &blsp1_uart2; > + }; > + > + chosen { > + stdout-path = "serial0:115200n8"; > + }; > + > + negative5_reg: negative5-regulator { > + compatible = "regulator-fixed"; > + pinctrl-names = "default"; > + pinctrl-0 = <&negative5_reg_default>; > + regulator-name = "negative5_reg"; > + gpio = <&tlmm 17 GPIO_ACTIVE_LOW>; > + startup-delay-us = <0>; > + }; > + > + positive5_reg: positive5-regulator { > + compatible = "regulator-fixed"; > + pinctrl-names = "default"; > + pinctrl-0 = <&positive5_reg_default>; > + regulator-name = "positive5_reg"; > + gpio = <&tlmm 114 GPIO_ACTIVE_LOW>; > + startup-delay-us = <0>; > + }; > + > + usb_id: usb-id { > + compatible = "linux,extcon-usb-gpio"; > + id-gpio = <&tlmm 110 GPIO_ACTIVE_HIGH>; > + pinctrl-names = "default"; > + pinctrl-0 = <&usb_id_default>; > + }; > +}; > + > +&blsp_dma { > + status = "okay"; > +}; > + > +&dsi0 { > + vdda-supply = <&pm8916_l2>; > + vddio-supply = <&pm8916_l16>; #include "msm8939-pm8916.dtsi" > + status = "okay"; > + > + panel@0 { > + compatible = "sony,tulip-truly-nt35521"; > + reg = <0>; > + positive5-supply = <&positive5_reg>; > + negative5-supply = <&negative5_reg>; > + reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; > + enable-gpios = <&tlmm 10 GPIO_ACTIVE_LOW>; > + > + ports { > + port { > + panel_in: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + }; > + > + }; > +}; > + > +&dsi0_out { > + remote-endpoint = <&panel_in>; > + data-lanes = <0 1 2 3>; > +}; > + > +&dsi_phy0 { > + vddio-supply = <&pm8916_l16>; That sounds strange.. you sure it's this one? > + qcom,dsi-phy-regulator-ldo-mode; > + status = "okay"; > +}; > + > +&tlmm { > + ak8963_default: ak8963-default-state { > + pins = "gpio69"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-up; > + }; > + > + ak8963_sleep: ak8963-sleep-state { > + pins = "gpio69"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + /* Ambient light and proximity sensor apds9930 and apds9900 */ > + apds99xx_default: apds99xx-default-state { > + pins = "gpio113"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-up; > + }; > + > + apds99xx_sleep: apds99xx-sleep-state { > + pins = "gpio113"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + cam_sensor_flash_default: cam-sensor-flash-default-state { > + pins = "gpio98", "gpio97"; > + function = "gpio"; > + bias-disable; > + drive-strength = <2>; > + }; > + > + cci1_default: cci1-default-state { > + pins = "gpio31", "gpio32"; > + function = "cci_i2c"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + cdc_ext_spk_pa_active: cdc-ext-spk-pa-on-state { > + pins = "gpio0"; > + function = "gpio"; > + drive-strength = <8>; > + output-low; > + }; > + > + cdc_ext_spk_pa_sus: cdc-ext-spk-pa-off-state { > + pins = "gpio0"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + cdc_slim_lines_act: lines-on-state { > + pins = "gpio63"; > + function = "cdc_pdm0"; > + drive-strength = <8>; > + output-high; > + }; > + > + cdc_slim_lines_sus: lines-off-state { > + pins = "gpio63"; > + function = "cdc_pdm0"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + cross_conn_det_act: lines-on-state { > + pins = "gpio120"; > + function = "gpio"; > + drive-strength = <8>; > + bias-pull-down; > + output-low; > + }; > + > + cross_conn_det_sus: lines-off-state { > + pins = "gpio120"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + ext_buck_vsel: vsel0-state { > + pins = "gpio111"; > + function = "gpio"; > + drive-strength = <2>; > + }; > + > + ext_cdc_tlmm_lines_act: tlmm-lines-on-state { > + pins = "gpio116", "gpio112", "gpio117", "gpio118", "gpio119"; > + function = "gpio"; > + drive-strength = <8>; > + bias-disable; > + }; > + > + ext_cdc_tlmm_lines_sus: tlmm-lines-off-state { > + pins = "gpio116", "gpio112", "gpio117", "gpio118", "gpio119"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + }; > + > + gpio_key_suspend: gpio-key-suspend-state { > + pins = "gpio107", "gpio108", "gpio109"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + > + negative5_reg_default: negative5-reg-default-state { > + pins = "gpio17"; > + function = "gpio"; > + output-low; > + }; > + > + positive5_reg_default: positive5-reg-default-state { > + pins = "gpio114"; > + function = "gpio"; > + output-low; > + }; > + > + /* Gyroscope and accelerometer sensor combo */ > + mpu6050_default: mpu6050-default-state { > + pins = "gpio115"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-up; > + }; > + > + mpu6050_sleep: mpu6050-sleep-state { > + pins = "gpio115"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + nfc_disable_active: nfc-disable-active-state { > + pins = "gpio20"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-up; > + }; > + > + nfc_disable_suspend: nfc-disable-suspend-state { > + pins = "gpio20"; > + function = "gpio"; > + drive-strength = <6>; > + bias-disable; > + }; > + > + nfc_int_active: nfc-int-active-state { > + pins = "gpio21"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-up; > + }; > + > + nfc_int_suspend: nfc-int-suspend-state { > + pins = "gpio21"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-up; > + }; > + > + nt35521_te_default: nt35521-te-default-state { > + pins = "gpio24"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-down; > + }; > + > + nt35521_backlight: nt35521-backlight-default-state { > + pins = "gpio10"; > + function = "gpio"; > + drive-strength = <6>; > + bias-pull-down; > + }; > + > + smb_int: smb-int-default-state { > + pins = "gpio62"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-up; > + }; > + > + ts_int_active: ts-int-active-state { > + pins = "gpio13"; > + function = "gpio"; > + drive-strength = <16>; > + bias-pull-up; > + }; > + > + ts_int_suspend: ts-int-suspend-state { > + pins = "gpio13"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + ts_reset_active: ts-reset-active-state { > + pins = "gpio12"; > + function = "gpio"; > + drive-strength = <16>; > + bias-pull-up; > + }; > + > + ts_reset_suspend: ts-reset-suspend-state { > + pins = "gpio12"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + ts_release: ts-release-default-state { > + pins = "gpio13", "gpio12"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + usb_id_default: usb-id-default-state { > + pins = "gpio110"; > + function = "gpio"; > + drive-strength = <8>; > + bias-pull-up; > + }; > +}; > + > +&pronto { > + status = "okay"; > + > + iris { > + compatible = "qcom,wcn3660"; > + }; > +}; > + > +&smd_rpm_regulators { > + vdd_l1_l2_l3-supply = <&pm8916_s3>; > + vdd_l4_l5_l6-supply = <&pm8916_s4>; > + vdd_l7-supply = <&pm8916_s4>; > + > + pm8916_s3: s3 { > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1300000>; > + }; > + > + pm8916_s4: s4 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <2100000>; > + }; > + > + pm8916_l2: l2 { > + regulator-min-microvolt = <1200000>; > + regulator-max-microvolt = <1200000>; > + }; > + > + pm8916_l4: l4 { > + regulator-min-microvolt = <2050000>; > + regulator-max-microvolt = <2050000>; > + }; > + > + pm8916_l5: l5 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + }; > + > + pm8916_l6: l6 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-always-on; > + }; > + > + pm8916_l7: l7 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + }; > + > + pm8916_l8: l8 { > + regulator-min-microvolt = <2850000>; > + regulator-max-microvolt = <2900000>; > + }; > + > + pm8916_l9: l9 { > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + pm8916_l10: l10 { > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + pm8916_l11: l11 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + regulator-allow-set-load; Please put this below regulator-system-load for consistency with other DTs. > + regulator-system-load = <200000>; > + }; > + > + pm8916_l12: l12 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + pm8916_l13: l13 { > + regulator-min-microvolt = <3075000>; > + regulator-max-microvolt = <3075000>; > + }; > + > + pm8916_l14: l14 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + pm8916_l15: l15 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + pm8916_l16: l16 { > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + pm8916_l17: l17 { > + regulator-min-microvolt = <2850000>; > + regulator-max-microvolt = <2850000>; > + }; > + > + pm8916_l18: l18 { > + regulator-min-microvolt = <2700000>; > + regulator-max-microvolt = <2700000>; > + }; > +}; > + > +&sdhc_1 { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&sdc1_default_state>; > + pinctrl-1 = <&sdc1_sleep_state>; > + status = "okay"; > +}; > + > +&sdhc_2 { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&sdc2_default_state>; > + pinctrl-1 = <&sdc2_sleep_state>; > + cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; > + status = "okay"; > +}; > + > +&usb { > + extcon = <&usb_id>, <&usb_id>; > + status = "okay"; > + > + ulpi { > + usb_hs_phy: phy { > + v1p8-supply = <&pm8916_l7>; > + v3p3-supply = <&pm8916_l13>; #include "msm8939-pm8916.dtsi" Konrad > + }; > + }; > +}; > + > +&usb_hs_phy { > + extcon = <&usb_id>; > +};