Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp37604lfv; Tue, 12 Apr 2022 16:18:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNsezXO8UoTGjmxqjMIYLy/o0h8S8bzlL8qDyAJLb9lcNdfD1kUtEcaAdLzPZvykwaSVoK X-Received: by 2002:a17:90b:4d82:b0:1cb:a234:ec99 with SMTP id oj2-20020a17090b4d8200b001cba234ec99mr7595886pjb.36.1649805485460; Tue, 12 Apr 2022 16:18:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649805485; cv=none; d=google.com; s=arc-20160816; b=GvMmtMdw40vuUU24h+CF16gTPeMjLvp15HljIWuAlbyl5+iZUtW9dlDH4B9FEE/Bap ZXs4OMInN/+xfJPc//i9Vo6TDJWL98lSmhWVIOo8wX7Rq31JdHIipYjQ97BEIRx60xjN JJRkz2nru/t1Wh7zBk6su9KGrNKK2aQBeiBUXep0m3UTIQGc9y2pMD4oxKY68wXJp/9A Fwt45Kizz5K8a8YKfMQlvUHfFLQJ039nzs2lKE4RnCGe03IaaQwdWJX3esgUu6icnWyp 16O3XX6sY6o6F1A4sGNf7/Eex0CxHBmJJunc2GiFLPHEnL819CiEaVFZQFSZXOvmRp4j 3l6w== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=OcCFOIbabGMt8R4R5kmD+nWqw4w/utia9Z9PYHvplQc=; b=09FpDAu07Yn0zrt5QkOgXaLtbG5omBXgD1XKu0NSJp69UN6xgo8m5lHo1Z1cPsM1XC jQTOEH0nMi7b5Kd7UtUha+BQKYaLjK5Scm9UCKG33jW29JF0QJYHk4REdvts6VmUTGQq 3KntfR80vxyw6qX0F69/QZxsVzPer80LZVQNad/6tNQROgxgrPndFBu7GaSNXwwqsUv6 /MJ8yofARiZzlbc5YZ3ijRmxeQxhGu1OZu1hqTE6s6VW9i5ft8vwMa7S4Zhrpe9sgMvn IPj145EaOHLgJ+DOluCoWpgBY2wJt9ckGD9tAF+AiyK8YjVW7XyKFSGryYk4JWOmDrfT Zosg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2dzcglS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id me3-20020a17090b17c300b001cab7bbc6ffsi15397475pjb.60.2022.04.12.16.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 16:18:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2dzcglS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2935C21E513; Tue, 12 Apr 2022 15:02:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230512AbiDLTxN (ORCPT + 99 others); Tue, 12 Apr 2022 15:53:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiDLTvI (ORCPT ); Tue, 12 Apr 2022 15:51:08 -0400 Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EDD265484 for ; Tue, 12 Apr 2022 12:46:43 -0700 (PDT) Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-dacc470e03so21867777fac.5 for ; Tue, 12 Apr 2022 12:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OcCFOIbabGMt8R4R5kmD+nWqw4w/utia9Z9PYHvplQc=; b=m2dzcglSF6AgD3X8N5HTbv7KqJkmZFNOirfaSAEFEihSuceCvzNa5HXcUilyiXZXDy zURF3W6b44+rgOeL6/HQbB0OtbxFI3RC/Ki+t3a/wqa7hVnoqfyr9YRBEkD+yq1lUEWj zwdILpqgAqWpRm5gOip9LPDtQLEjw62N8TC3+ky2m+gDdbL6K+RCAv7n0jWRLbPffnH6 F+s6nlz49Bg5JvpXEGQgiiZcwblXBthrdI2HbB5NZv5014L21pubsa880JYyZyPmneHT uAyBYzyhxsaLjqNLNV0Etk4V3ZghSjqklGG+MD8UXxkCRPPWlzM2wYqUjMLUsPpunpK3 5fhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OcCFOIbabGMt8R4R5kmD+nWqw4w/utia9Z9PYHvplQc=; b=YUk+BurPnEFX1i0Z6JaxmgP6X2OwPLJ55GuPMU3HDorcOM+6s4NVU/aHZUGtwFRvD4 B53L0UA6u35ldkjy//vdu3YxqLS/oa0MZTTCBnmiaFSzBZ89TdqCjnUMrcEFKZGk67dW S1EcyMbG3fzAGLUPxapCwQUSOV0D1ftHgc0s3oWfJlHikSwvuvck/o5Uvwy5/YBjaqCA b0jToK/t/VP84mTVCPz9ObtXvC/W60/q8Xu3yxFvyZEOa8REqvj/xq3zeU+SZPThEhIc CR6NfzkZKsXUSiqpdFX4EdU8TYmlDI3NBv/wqTqJvHBUhZEjpPWluLTyBb3PwUmotqpQ ovAQ== X-Gm-Message-State: AOAM533sP6sdN02G9zMWI/64upIh9F2VlD1D5lN3DPXXsckJIFG9qT+q ZXD0JWhzVcviUKdIc4MVimTiVA== X-Received: by 2002:a05:6870:e303:b0:e2:e9fc:2fbe with SMTP id z3-20020a056870e30300b000e2e9fc2fbemr2863838oad.74.1649792802346; Tue, 12 Apr 2022 12:46:42 -0700 (PDT) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id r205-20020acadad6000000b002ef824213c9sm12964798oig.55.2022.04.12.12.46.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 12:46:41 -0700 (PDT) Date: Tue, 12 Apr 2022 14:46:39 -0500 From: Bjorn Andersson To: Ansuel Smith Cc: Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan McDowell Subject: Re: [PATCH v3 03/18] ARM: dts: qcom: add missing rpm regulators and cells for ipq8064 Message-ID: References: <20220309190152.7998-1-ansuelsmth@gmail.com> <20220309190152.7998-4-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220309190152.7998-4-ansuelsmth@gmail.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 09 Mar 13:01 CST 2022, Ansuel Smith wrote: > Add cells definition for rpm node Why do we need the cells? > and add missing regulators for the 4 > regulator present on ipq8064. There regulators are controlled by rpm and > to correctly works gsbi4_i2c require to be NEVER disabled or rpm will Are you saying "...to correctly work, gsbi4_i2c must NEVER be disabled..."? If so, that's good information, but how does it relate to this particular change? Regards, Bjorn > reject any regulator change request. > > Signed-off-by: Ansuel Smith > Tested-by: Jonathan McDowell > --- > arch/arm/boot/dts/qcom-ipq8064.dtsi | 36 +++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi > index b309bc0fbbcd..0938838a4af8 100644 > --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi > +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi > @@ -842,10 +842,46 @@ rpm: rpm@108000 { > clocks = <&gcc RPM_MSG_RAM_H_CLK>; > clock-names = "ram"; > > + #address-cells = <1>; > + #size-cells = <0>; > + > rpmcc: clock-controller { > compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc"; > #clock-cells = <1>; > }; > + > + smb208_regulators: regulators { > + compatible = "qcom,rpm-smb208-regulators"; > + status = "okay"; > + > + smb208_s1a: s1a { > + regulator-min-microvolt = <1050000>; > + regulator-max-microvolt = <1150000>; > + > + qcom,switch-mode-frequency = <1200000>; > + }; > + > + smb208_s1b: s1b { > + regulator-min-microvolt = <1050000>; > + regulator-max-microvolt = <1150000>; > + > + qcom,switch-mode-frequency = <1200000>; > + }; > + > + smb208_s2a: s2a { > + regulator-min-microvolt = < 800000>; > + regulator-max-microvolt = <1250000>; > + > + qcom,switch-mode-frequency = <1200000>; > + }; > + > + smb208_s2b: s2b { > + regulator-min-microvolt = < 800000>; > + regulator-max-microvolt = <1250000>; > + > + qcom,switch-mode-frequency = <1200000>; > + }; > + }; > }; > > tcsr: syscon@1a400000 { > -- > 2.34.1 >