Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2488595imw; Wed, 6 Jul 2022 06:51:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sQE4SXLDIrbKA0XoEQdIZusZtvB1sxZw9/K5E/ssiQkhAXljXg55rVcfyjwjifGrpsbFeO X-Received: by 2002:a05:6402:ea2:b0:43a:1278:533c with SMTP id h34-20020a0564020ea200b0043a1278533cmr28639854eda.77.1657115472280; Wed, 06 Jul 2022 06:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657115472; cv=none; d=google.com; s=arc-20160816; b=VTIKRfPii9rRpxzrO8LA/Un/EivzSm3edkhswp1+MvDQ96KTL4ECwfoGdJs0VzsuTG /hipn7/1HoJX95NgbRCymUvJwTybKRiI3yOv9bahhfATIfkEJPWHmcsRfvMtWy0o3uwS yIXgpId3Q9JGwLDYMTZ6aznYbPjOtP+HN2QfzghpQeifAmjWuXCfJhQKOgBDePHdqsSl djsNHjcd58AK5hwkKReTCTdEnsmdccGkTjfwMvWjXhzroAOqSXuQuMSSrKQia0EHtrRZ osV/vDQ7PP5klodH5Q/3IGW/Ra3Ka01nKFTnZJ5vsxnZY3VZgX32vV/2QKe24QH99r9P 1ZZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:subject:cc:to:from:date:message-id:dkim-signature; bh=YMLDVTvyR9wt+eqPK81VYvFaLzU3RcWbb4f8d1UYbe0=; b=aJWwJES4upZbuP26Cna3I6YHgDVn+f/mXk/H3JYEZawzb/5BleL55Prk47pajG853m ubOOvT5y+KZrTsWBzvjGE1++pg1H0h7syzj2yodqZWlECacL8FDRLb7OfiOmGkEJPqsx Mfnef6JQDLgQCea5W+mf1YGJLGqb20Jrb0fwbs9KvRg1PH4ZLH+oN7ddu+Fthk+7hMR5 9Shs9YZIYMDo3kLg7805rftkW6DRj/KtD/JHpMD6yynFgfzyeLCKRmPWkB/kvNE3qhE5 L91uhihRW0e/sgKGNhsD2rTlucSjZ7VzZ8XrDGOemcDKIWMVs044a/XOEuZKcHX/yi5L MZoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=O7oIIbXj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cd3-20020a170906b34300b00722f48fa044si488667ejb.192.2022.07.06.06.50.40; Wed, 06 Jul 2022 06:51:12 -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=@gmail.com header.s=20210112 header.b=O7oIIbXj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233689AbiGFNP6 (ORCPT + 99 others); Wed, 6 Jul 2022 09:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233620AbiGFNPu (ORCPT ); Wed, 6 Jul 2022 09:15:50 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CEF7193FA; Wed, 6 Jul 2022 06:15:49 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id lg18so7262489ejb.0; Wed, 06 Jul 2022 06:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:from:to:cc:subject:references:mime-version :content-disposition:in-reply-to; bh=YMLDVTvyR9wt+eqPK81VYvFaLzU3RcWbb4f8d1UYbe0=; b=O7oIIbXjjWTNjkt5EfudQbxBsTYbqDCruMWFEeT6nHKIO0POe/a+KdpUphr1xzTG3L 3ZlVzrkX8RNNVIoDZj5yoduQVQE55KGiqJ92r9B9yyW6H5q+Cpg2bGJbzQWURCrpCvi1 ZkyIM9hKReEpHvkorY1RXdL3JtZTXX7DSpNyVWoHrWJiJHCF6ZZK5fJXFRj60M2MsgGm EglaEiBlz4oxEOLRyxWelf31rWqK7oRplnfbLNAentKnCYasfi0oJz5Rm1psBphPiYkB HfdIletDeaFJEs0+0JxdUp7EHeL1CqiWOqt1y0vH8yAITaMYh5yKOzLytBETYuI35rq0 BIow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:from:to:cc:subject:references :mime-version:content-disposition:in-reply-to; bh=YMLDVTvyR9wt+eqPK81VYvFaLzU3RcWbb4f8d1UYbe0=; b=rH8OWdpHkG3vadB8CQf2Lvrps6LZOBSKcLzgNmVNbI/y94q8cqcYSdPkwUhikmALtI tH/pQT7pGzduSmqJmx3uaQNF6eHJpIfwXLQyEDu8Pbj15nCcnIJQL6PS/5lYkEpJlYqe WA6zjABVGj7Ax9Ob8/6+XKy7ueh42K6SX6zmXpcvjpcxmwAbQmBYZWzdec3V8n1M++ru yPypVr9GheQD6++B4lYSZT5oBG5jT4CXCJIrQhrYHF/72xa1EqJQw+z+0FPJgcjjP2j/ A75umfHbdM4YuUSxVTVGm8fVwVZB6gghh4X5iFSSrsB8YMOzSHJV4O1xNoRhCjPahLPe EbNg== X-Gm-Message-State: AJIora9jJpfdWlcIduvUavUCouIJNH3DoZzIJwbjqpAhlgHRiy2/0QGg 7VpBRjOhoaNJLwz+lQt9Oic= X-Received: by 2002:a17:907:a40a:b0:72a:a61d:9ac8 with SMTP id sg10-20020a170907a40a00b0072aa61d9ac8mr17698037ejc.43.1657113348120; Wed, 06 Jul 2022 06:15:48 -0700 (PDT) Received: from Ansuel-xps. (93-42-70-190.ip85.fastwebnet.it. [93.42.70.190]) by smtp.gmail.com with ESMTPSA id f22-20020a50ee96000000b0043a0da110e3sm9298427edr.43.2022.07.06.06.15.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 06:15:47 -0700 (PDT) Message-ID: <62c58b03.1c69fb81.527d5.ecc6@mx.google.com> X-Google-Original-Message-ID: Date: Wed, 6 Jul 2022 14:59:10 +0200 From: Christian Marangi To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan McDowell Subject: Re: [PATCH 06/13] ARM: dts: qcom: enable usb phy by default for ipq8064 References: <20220705133917.8405-1-ansuelsmth@gmail.com> <20220705133917.8405-7-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Wed, Jul 06, 2022 at 03:04:44PM +0200, Konrad Dybcio wrote: > > > On 5.07.2022 15:39, Christian Marangi wrote: > > Enable usb phy by default. When the usb phy were pushed, half of them > > were flagged as disabled by mistake. Fix this to correctly init dwc3 > > node on any ipq8064 based SoC. > Are you sure they are used on *all* devices? If not, you will > lose power by enabling unused hw.. > > Konrad Well there could be device that have no usb at all... so honestly enabling one of them is also wrong. Should I disable the other and enable it for the upstream device? Also it's all handled by dummy vbus so i think we can ignore the losing power thing. (this thing is old) > > > > Signed-off-by: Christian Marangi > > Tested-by: Jonathan McDowell > > --- > > arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 ---- > > 1 file changed, 4 deletions(-) > > > > diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi > > index b2faa4a067e9..9c32c637ea46 100644 > > --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi > > +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi > > @@ -1177,8 +1177,6 @@ hs_phy_0: phy@100f8800 { > > clocks = <&gcc USB30_0_UTMI_CLK>; > > clock-names = "ref"; > > #phy-cells = <0>; > > - > > - status = "disabled"; > > }; > > > > ss_phy_0: phy@100f8830 { > > @@ -1187,8 +1185,6 @@ ss_phy_0: phy@100f8830 { > > clocks = <&gcc USB30_0_MASTER_CLK>; > > clock-names = "ref"; > > #phy-cells = <0>; > > - > > - status = "disabled"; > > }; > > > > usb3_0: usb3@100f8800 { -- Ansuel