Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2266571rdb; Wed, 21 Feb 2024 02:12:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWeIRf3dtDMS0JtrkdFEZLnrriBrzyJ37QrPtS6CgDLs/6mY4xHVeH5GiqZQzIQJooJ1itfwZwIMTArgBwquS5+ett7v82r7O/NjgC64A== X-Google-Smtp-Source: AGHT+IFLzKNZ+3Jh6NgRoDL42KThiMMDb67oI1pHi3hUcEbuLd5ObDrTuz1RjBFvv5gsSNiSW0vT X-Received: by 2002:aa7:c442:0:b0:564:e627:b29a with SMTP id n2-20020aa7c442000000b00564e627b29amr1410062edr.35.1708510341280; Wed, 21 Feb 2024 02:12:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708510341; cv=pass; d=google.com; s=arc-20160816; b=pcF+RkJJW5X63aEEnDo9aryXVgW8jCi09r7I0VGAJJZdB5scX+15G4Ta0BvULzSBbk N1QdjT1BUTI/VHZaDiCYnHOPU5c36/RiodvpmXELBfGe5nV2rhG8vA9wtcoVgVYMIhGw 06szkyvIn/UUWdwyiwwjxiP705JHrMC3Mb7gCE8kONcqhkN2xQH3ng4VaCWfdNCYQgsK hYFMbpU0OcESFojYP1kek0W4hkHmEBjaE1MCoJ5gG3+NoGMzjS2JJia5wfp33QpUPoLK SQ7B33aAzDiRsrs7fxhkMRvipm0zNzhMmnza+YwfgExhaWGLdoiIIEmizScLVFkGjD9I Fo/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=zaQGx9XByKSc51LpkoUduPFIZjy4psowaw+hO7Oynl8=; fh=GCsme1zJokEoXo/fz76GgjUv7cwjGR7S2aQi67M5gLY=; b=LqEuTvLxvE4EeuzCgaspx2EeKfZVso8ns+HfZjQ0nXQDjnnLuCOsVyT3msNtJ6RP3b TQcuPdRQJRBE6UCrf2lnAk05undoaYvxRQ2q52KuUm+TBZVcVzCHVMF2FrHQesQ5Nhd4 ySwR23YwJN7/paXUMXhPWWvodEHZoHIXx97pQzK3ZXRbumaVzNWWIVzyixGU/Ps9A/lC PyTYEVjVBzuqEGoyXczWp6FZQywI85wdkDdrtmZblxCdXLW7+W9Sb8VvYZnBtV25at6I xdsLRSfAKtHyRiaMxAdXZELdZqh8gv+W1oHoxXONHFxw5mvxaS9S0wysgQGas/hSzWID 9qPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nuvf1FKa; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s8-20020aa7d788000000b005648505032esi2357910edq.659.2024.02.21.02.12.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nuvf1FKa; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74487-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 914F21F28BA9 for ; Wed, 21 Feb 2024 10:03:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4997C4EB34; Wed, 21 Feb 2024 09:58:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nuvf1FKa" Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (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 C78B64E1CA for ; Wed, 21 Feb 2024 09:58:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708509511; cv=none; b=DwvQQg6dz1YAc6XOayR+5X+2QKTbZRV16qs8WgHGOfTkOh3W/cH1oiyN3rz6bVkW6lA0cy+bnFtQNmZAJ/l+J1nJIABhzCVqHp34okLpkBhrdeNK+oH8b2GklKr+sU3uH79wURYGvs3KEeZ92Fc3TdUrAs676gf43GqANpf0/44= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708509511; c=relaxed/simple; bh=35UDvqaEjT+Hd/yr4gwYb/tZirZ1jaBXbFk85JTZ5Sc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YJ6FSqe4VIb1JRhrU/43Qv1a0i0wVi/OmCBZONARN2J3jRx4cL2pBRe7wZfNHH17ki/2J1+eNZ7wgUaO6wev/31TVquza1ynEKCyNyV+5aXpbgNI5TciJZMtHGYMOkLVJDbiJBS8a06ixWeCUDDLdb8GsNAXDwxDHgM4ViIBQ40= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=nuvf1FKa; arc=none smtp.client-ip=209.85.208.42 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-f42.google.com with SMTP id 4fb4d7f45d1cf-564d9b0e96dso1855187a12.2 for ; Wed, 21 Feb 2024 01:58:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708509508; x=1709114308; darn=vger.kernel.org; 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=zaQGx9XByKSc51LpkoUduPFIZjy4psowaw+hO7Oynl8=; b=nuvf1FKa4r4/MMeIxCeuchUOnHCyoyj/LoLrlMaOq1M2KNDg8k5Q6u12w13U7HfNmG iQM6ex6chyFu1pO9FNQxldlA40AmfFD0XGGoJbTUst5+Yzs37cEPkmVhRUocdBPa3bDq 1MpkLwk8jiZqF6sKnMsG1h0kIOdtWO6jeQG/7EXPgVAO/868A08vy+UWW3NBwEAwyAiS KKoQqHi4eOJ0ftSTrt1HKoRXSg+tH9uaxrQkvb96RoSqqiFlw/5plc7OQlNKQiWuFhFd OWnrOGQfLgJDOVcUcoE42YXnHsaK8+GOUSRbdwru7HfR/KcC5Xy4QU9DTbbR1PTKn+z4 o4Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708509508; x=1709114308; 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=zaQGx9XByKSc51LpkoUduPFIZjy4psowaw+hO7Oynl8=; b=RU3ee6FlcHEZMbRT23L9/9S9mdcHjI42OwI4A/HsL9qZ+30tGkzB978zNOM1oQgf92 74NZzdfwn2BOBAUkcnmdptTNRlvmrLX/NnwBvF93mqpJj2F3XRqBs9lr8wKO8VE0v2bj Hm51z7V8cIc2etroPMgWnJn3DEAELZ+kNWiti4+v9MMlSCF8zQc9sWdwjifhtDCA+hlX JKDDn5XUqK6BTQEXkz4kL6ZyHoPUWU66hdL9JrDxHcFO3DooEfL1bVMNjqeTxUdDpcrz WWnEBnB90Is0nFPnqT5rF+mB28fGc3qWn4uhLpb0bT1CuaT0fXFDsbuMUmx1tGdXyJld jg4w== X-Forwarded-Encrypted: i=1; AJvYcCWxpNvObXwAxuPcTAI8cSSDTgFlHnTUJSe2RcfbvBq8QSRHlB6botUHIAo+OqUGO045o4b1BWUJnMBP4YilutB6QeZvqCX6OJV0z/gH X-Gm-Message-State: AOJu0YzbX7Adr+fEsd1gfm6DH4fzWqhfkKdl7DYhn2uiFBmeuIYal890 r0nMMoGDCtr+Vt3bPowXmSX9v0nuEYD5xPyP7Oi3kr0cl1cIKmn839E7dPug1qQysXvMy51USBm UDtolTw== X-Received: by 2002:a17:906:1958:b0:a3e:c557:7cbe with SMTP id b24-20020a170906195800b00a3ec5577cbemr4661160eje.3.1708509508206; Wed, 21 Feb 2024 01:58:28 -0800 (PST) Received: from ?IPV6:2001:1c06:2302:5600:366d:ca8f:f3af:381? (2001-1c06-2302-5600-366d-ca8f-f3af-0381.cable.dynamic.v6.ziggo.nl. [2001:1c06:2302:5600:366d:ca8f:f3af:381]) by smtp.gmail.com with ESMTPSA id hs32-20020a1709073ea000b00a3e4802b4f1sm3946290ejc.217.2024.02.21.01.58.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 01:58:27 -0800 (PST) Message-ID: Date: Wed, 21 Feb 2024 09:58:23 +0000 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] regulator: qcom-rpmh: Fix pm8010 pmic5_pldo502ln minimum voltage Content-Language: en-US To: Fenglin Wu , Mark Brown Cc: andersson@kernel.org, konrad.dybcio@linaro.org, lgirdwood@gmail.com, quic_collinsd@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240214121614.2723085-1-bryan.odonoghue@linaro.org> <13baed68-1014-4a48-874a-94027a6dd061@sirena.org.uk> <3851e21f-f8cb-487b-9ed4-9975949ff922@linaro.org> <6f6dfaa2-f529-c9fe-7dde-402c92f0daf6@quicinc.com> <6b36bdc2-0ffb-491f-a1ae-93a20822e6f0@quicinc.com> From: Bryan O'Donoghue In-Reply-To: <6b36bdc2-0ffb-491f-a1ae-93a20822e6f0@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 21/02/2024 9:11 a.m., Fenglin Wu wrote: > > So, programming it to either 1.8V or 1.808V, the HW will output 1.8V. I > understand there is a problem for x1e801000 because its AOP side limits > the voltage range to [1.808V, 1.808V] for LDO3/4/6 power rails, it won't > work if linux side updates to use 1.8V. Actually the same issue applies > to SM8550 and SM8650 if you simply update the voltage level to 1.808V, > because their AOP side limits the voltage ranges for some of these LDOs > to [1.8V, 1.8V]. Hmm. We have no use case for 1.808 to my knowledge - the sensors take voltages in the range 1.7 to 1.9 volts. TBH I think it should work just fine at 1.8v bang on. I'll test this theory on the reference hardware and repost either a patch or further discussion. But I think we should probably just leave what you've upstreamed and request 1.8 v in the dts honestly. Thanks --- bod