Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6687870rwr; Tue, 2 May 2023 04:15:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qZPFRTtYf/2DH2peMoZI6zb749/uD8w2mu/V+qLGD/aQjbjVQhDv63iz0+CQAEtDeV98y X-Received: by 2002:a17:90a:ba90:b0:24d:ea7f:9ea2 with SMTP id t16-20020a17090aba9000b0024dea7f9ea2mr9709587pjr.15.1683026129531; Tue, 02 May 2023 04:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683026129; cv=none; d=google.com; s=arc-20160816; b=0CIyPLq3Xzeyh4VxWJBwqeT7Z4vkzJuVfBtFG8EfantjP+v/VbKZE+/lCinlCseBpq eBK5TM6G7zc0b9vBXW08C/+TjgxBw98Thi10iQlE8Ws5MfX3o8g38g35SOt37QOe5ZtM HsEVRh6InjXrMi6kEmbBcEQGF/IU7BRPlovvwYGD1Y257P6xW2JX+yHJBN1uBthFEZZo FHI2b3u5WYnHwTJ++4nAgHnnDzVA2+tcwQCbqmqObiFCPf99hvWNce3WRn0KoWRdYQaF fxaM0MMImqHxMmR8enc0v37HKGWcjMe2Ph2UeLXD5u2QtyABic/I3WbCCLMrPp0mGDAe 7NPw== 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=Sf80UbBVaV1xqcq5jn3dFOlS0sh8XQ51kwgxGAit90c=; b=LH7mS8uXWKwL0d+P1pT3lgXOQj+sInNa4fnPu5vKbkz5zXpHSkn7lNVVLzWWa1XodT hGvczdINjJxxIsn+y+dBNBb+Z+GRO7nOKBoBXWDyNcoiG6TuqZfvehtpqm03WCgMZ4NL nmb773ELehE0Ir2rddoN+2KlwKWNi+zv7AG8lP5HrNp4mxmDbk3mOIVl3ReKHn74je8O nazKjpwG4AtmZ5m+INxVSfXyJv7nwuvGzI0mZloqBCkx3AtXJC6EWDBP2K1XWCLrliNM eK5CKUEK/yrB4wit9XLEnY2FM+kmZLBX/cmesZhMdhxATjPMvrK37idK2dkd2KaBR0CP EKQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sXVVjJVf; 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 gk2-20020a17090b118200b0024e0254d807si4317373pjb.143.2023.05.02.04.15.15; Tue, 02 May 2023 04:15:29 -0700 (PDT) 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=sXVVjJVf; 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 S233897AbjEBLHH (ORCPT + 99 others); Tue, 2 May 2023 07:07:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233779AbjEBLHC (ORCPT ); Tue, 2 May 2023 07:07:02 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 934934686 for ; Tue, 2 May 2023 04:07:00 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4ec8148f73eso4278390e87.1 for ; Tue, 02 May 2023 04:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683025619; x=1685617619; 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=Sf80UbBVaV1xqcq5jn3dFOlS0sh8XQ51kwgxGAit90c=; b=sXVVjJVfKTHbg0F2b3766LQHbKtN1Au6ylJugtdsuOWZ6+B60l+HXuGMnRDQ1zufRR skamJDeweJbUW4tpr2sv5valdNgJDe8khKBO0iRsRf0xbeNLwKp1NFtwb/sAg+UlHjgT fTvtvxE+7KLVanHkAcSflUoujfr81NjoH5ttpjvV1hrKlRMaNMPXZH6pnhOciKz9VGx7 YtpYwTpZ/JYtxeb+kAsTkPNZr2wDK+hqunwUmnJqWeg4YnzfBKzJUm3XgQ4DKL2BOdE7 7Fr5P+ztBeok5iwLoYv17+GJVs+7fuGyIou4BzMKowJpCujOqI4fKTdB6EtbASpKt5LP kvsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683025619; x=1685617619; 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=Sf80UbBVaV1xqcq5jn3dFOlS0sh8XQ51kwgxGAit90c=; b=BK6KS3TnG/MPfHbUTwtcPxvSIS9xGbWJbbHBWYVkBwQCRe1jCdY8O6WpNqQTjg0z0L PXjQZhqcQo5L44VXYIwzhlBdRHj+hlVpxLzOIvDGKno46EECDSnyIjot9MGtTUjQgHEj DVjoVRhhRe/lZtokMPpoGn+Q0es5qiKUi+njsgcn0t9zg4fjtvxOrRWtD88IbFKabAGr fv0rihM3Y6TgmjEvlnq055WNNszdZlCPj2oNUA0r9/kJg4djZ6raSVzzpfjWrQHYG0pA WiUp3utYccaOEN64CY4wtj+irj6UxOJkUcBk4pUhrWpay1+rzWGMN2TqA4hDoQTvJGfX Kvdg== X-Gm-Message-State: AC+VfDz70xD6iAQYtoKYZ+I3Q6MlUoHGV3jF08wS8A4O7PVhkSKx3oAx jnXE/uz5nKAZVm7PC8J84/B9Qw== X-Received: by 2002:ac2:46fb:0:b0:4e8:4412:1d95 with SMTP id q27-20020ac246fb000000b004e844121d95mr4213948lfo.29.1683025618831; Tue, 02 May 2023 04:06:58 -0700 (PDT) Received: from [192.168.1.101] (abyl248.neoplus.adsl.tpnet.pl. [83.9.31.248]) by smtp.gmail.com with ESMTPSA id j22-20020ac24556000000b004edc72be17csm5294762lfm.2.2023.05.02.04.06.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 May 2023 04:06:58 -0700 (PDT) Message-ID: <8c8a7c25-9eae-7ded-61ce-2ce22b7b76dc@linaro.org> Date: Tue, 2 May 2023 13:06:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v7 8/9] arm64: dts: qcom: sa8295p: Enable tertiary controller and its 4 USB ports Content-Language: en-US To: Krishna Kurapati , Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, quic_harshq@quicinc.com, ahalaney@redhat.com, quic_shazhuss@quicinc.com References: <20230501143445.3851-1-quic_kriskura@quicinc.com> <20230501143445.3851-9-quic_kriskura@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230501143445.3851-9-quic_kriskura@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 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,T_SCC_BODY_TEXT_LINE autolearn=ham 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 1.05.2023 16:34, Krishna Kurapati wrote: > Enable tertiary controller for SA8295P (based on SC8280XP). > Add pinctrl support for usb ports to provide VBUS to connected peripherals. > > Signed-off-by: Krishna Kurapati > --- > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 47 ++++++++++++++++++++++++ > 1 file changed, 47 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > index fd253942e5e5..7e6061c43835 100644 > --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > @@ -584,6 +584,19 @@ &usb_1_qmpphy { > status = "okay"; > }; > > +&usb_2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&usb2_en_state>, > + <&usb3_en_state>, > + <&usb4_en_state>, > + <&usb5_en_state>; This is misaligned. Also, please do property-n before property-names. > + status = "okay"; > +}; > + > +&usb_2_dwc3 { > + dr_mode = "host"; > +}; > + > &usb_2_hsphy0 { > vdda-pll-supply = <&vreg_l5a>; > vdda18-supply = <&vreg_l7g>; > @@ -729,3 +742,37 @@ wake-n-pins { > }; > }; > }; > + > +&pmm8540c_gpios { > + usb2_en_state: usb2-en-state { > + pins = "gpio9"; > + function = "normal"; > + output-high; > + power-source = <0>; No drive-strength values? Konrad > + }; > +}; > + > +&pmm8540e_gpios { > + usb3_en_state: usb3-en-state { > + pins = "gpio5"; > + function = "normal"; > + output-high; > + power-source = <0>; > + }; > +}; > + > +&pmm8540g_gpios { > + usb4_en_state: usb4-en-state { > + pins = "gpio5"; > + function = "normal"; > + output-high; > + power-source = <0>; > + }; > + > + usb5_en_state: usb5-en-state { > + pins = "gpio9"; > + function = "normal"; > + output-high; > + power-source = <0>; > + }; > +};