Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp125825rdb; Thu, 21 Dec 2023 04:58:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKmeP81G2EzMkRwcCmKoTsglhy07yBUyJYftPp20JZ97GBlO8wDxTF9kW0FJHd74NPNF8C X-Received: by 2002:a05:6a20:914f:b0:18c:346c:d59f with SMTP id x15-20020a056a20914f00b0018c346cd59fmr907072pzc.62.1703163491200; Thu, 21 Dec 2023 04:58:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703163491; cv=none; d=google.com; s=arc-20160816; b=aBY+gLKr/aem73XIQD+J9Km0TaiPRQl6bKPfbv98Z7okD4UQLSov+mi3RhXpXmeSKH a9j1x0YrK1VCuxChhinPNRUhh30GnHukzdAxGem59Xcgh490Svi86jbTMGSZCExtDnPK +tZdYew92XtsshOTx4mv41m7/vIupHYjStzmGbUNp94J7CK7fEUdqrcNKB4FZMbQqlUk FFzHfPF6r2z9Eur0hTnjWKm9LwW7dboRJIOqGHJeBn9Oyqcc62zMAPKrR7xDF0XEi96v LzQXw0BsPSDh3RDCfIw0y9Z92k3o8zD1FhR278K4QRPmzhim5rgBU8HDTVz6oPKarc/H 2H3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=uGwBTIh4Dz1SJStKRaT4MD0TZ8mnFlnlThnve5PWJVQ=; fh=kP4ZVy6fS0tG8i1M0m3I5MnLdz03p7YjZ7fpHpdYgg0=; b=CJlAnsdzWRJ67VAfMoBgoYDk//XxeO3wKxpcWnXnmSh2JG0d67KbAbt3epkvcwTZ34 FzgSGCfaqsaxRTse8vYRsNIqXVj35Hbrd0kAJvqO0ENU6JDEDsN30FP9SG+ZbV0CIxK7 JHHwZ0TKg/kAvCiCNeLmrXzz8muy78YQ0THT2RgzOC7Pg7GPOPAgRXkYVC7IBkcQoKv9 ref6AaPrBpp+98IXTy9zRM6Xxmb7g91nx/Y5kbSp2gg2ilZ9VHZ9FIIDVDpfd1QXLaRi +4cZmjMGhntQzNzJJkI7Fbu7c5IYXgvrTBaQhIfMbGSe55FJTyi4uxYI5evrqhHH9uHx Lt4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LhZ/3gnE"; spf=pass (google.com: domain of linux-kernel+bounces-8402-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bc7-20020a170902930700b001d3a6cb519dsi1415637plb.543.2023.12.21.04.58.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 04:58:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8402-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LhZ/3gnE"; spf=pass (google.com: domain of linux-kernel+bounces-8402-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8402-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D0A96286309 for ; Thu, 21 Dec 2023 12:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 238DD77628; Thu, 21 Dec 2023 12:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LhZ/3gnE" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 060717318B for ; Thu, 21 Dec 2023 12:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5534d8fcf7bso896413a12.3 for ; Thu, 21 Dec 2023 04:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703163122; x=1703767922; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uGwBTIh4Dz1SJStKRaT4MD0TZ8mnFlnlThnve5PWJVQ=; b=LhZ/3gnEr9CLL/qUrVtq787wjBunjeIP15S0UWDdjcgflgffZ1VbUnzyPMmWdpEEl1 mEl6I3taTHJSWBByfAI6UnVjtHOK9gPCIXYoxI+xkbA7nFfB7zC7HcP9XFQttXRmu6dn KHvRopBSUxDUUfDWxlysZUw8vBwEeu5txE8kTYqaf6UBypzU8tvMtqI/W4tTgDBj6Etx aP2URaZnpfq32b3xuBLr+J3IutUMD65s6ZYZgLUrhi2JeJFdKPP+ZzlbDLPldoWh/Dtq HYBVBE7F561B0mU7P7GuNcZ0HmfAC/dJQTVNbSFLnGX8+Wp1Uo27u+r/AyDPtlTj9Fa7 vBbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703163122; x=1703767922; h=content-transfer-encoding:in-reply-to:autocrypt: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=uGwBTIh4Dz1SJStKRaT4MD0TZ8mnFlnlThnve5PWJVQ=; b=PZ/l85yrzwE5RbldJtoct/EpwOetaANdLUtSftbo7xynd6jk16wsXI8hWO8/keT8Ji Rd2HZTUj0MJvOdfsZsBVd1B4+ykQ++RJYZ2kVVlzwiaGffFkbWSdZkJLsf5in8SK53v5 e13ux9ABQyxx675VFXrh47TKGbwn3F8WYbn5KM9BybjhFsBmhXv3xeDi99Y6EWOPUccT +G0dYJ9xUSKrGY4WDBRiyY8h98Oc5mxqXTAdaP6AH20MpAyMnP6B8BhlI3/UaLsGnTgp NOBPhtVxSGKrOdfO3SC/4C9+FvxjGkoqjHkmc8h0qW404abdpW43g8g/udmjJ8ZJevA/ lmCA== X-Gm-Message-State: AOJu0YwqYc9F5sQaMxxGeNoZDs36IZKXipn4mAMMOnEBGxenV6j4Ih5W LuyvWd1UoeEw1+QKP4wGddrXaQ== X-Received: by 2002:a17:907:7850:b0:a23:57a1:d85b with SMTP id lb16-20020a170907785000b00a2357a1d85bmr4379329ejc.74.1703163122074; Thu, 21 Dec 2023 04:52:02 -0800 (PST) Received: from [192.168.199.125] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id e3-20020a17090681c300b00a1f7ae3dfbcsm935159ejx.174.2023.12.21.04.51.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Dec 2023 04:52:01 -0800 (PST) Message-ID: Date: Thu, 21 Dec 2023 13:51:58 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/8] arm64: dts: qcom: sa8295p-adp: add max20411 Content-Language: en-US To: Bjorn Andersson , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> <20231220-sa8295p-gpu-v1-6-d8cdf2257f97@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u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L1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231220-sa8295p-gpu-v1-6-d8cdf2257f97@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21.12.2023 04:50, Bjorn Andersson wrote: > From: Bjorn Andersson > > The SA8295P ADP has a MAX20411 LDO regulator on I2C 12, supplying the > VDD_GFX pads. Enable the bus and add the maxim,max20411 device on the > bus. > > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 40 ++++++++++++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > index fd253942e5e5..e16406c9c19d 100644 > --- a/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > +++ b/arch/arm64/boot/dts/qcom/sa8295p-adp.dts > @@ -266,6 +266,26 @@ &dispcc1 { > status = "okay"; > }; > > +&i2c12 { > + pinctrl-names = "default"; > + pinctrl-0 = <&qup1_i2c4_state>; property-n property-names (same below) > + > + status = "okay"; > + > + vdd_gfx: regulator@39 { > + compatible = "maxim,max20411"; > + reg = <0x39>; > + > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <968750>; Is this ever going to be scaled? I suppose you could add some OPP code to drm/msm and use opp-microvolts.. Or lock this down at min=max Konrad