Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1649251rdb; Thu, 25 Jan 2024 01:54:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcWqL6Qt/r+Rfmk1aj5SxfU3vY9nR74jypYwJxOFkFNuAgImIGe9X/WDtkXesfX0NeS146 X-Received: by 2002:a05:620a:45a2:b0:783:9b6f:ae20 with SMTP id bp34-20020a05620a45a200b007839b6fae20mr784800qkb.84.1706176481282; Thu, 25 Jan 2024 01:54:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706176481; cv=pass; d=google.com; s=arc-20160816; b=hoPL/d7/5u3czGHg4NkJpr1eGpoWusnPSJu/+IEQmzWLgbrfL39TA/hjzwGmdniT2y /cYsG5YieBmkI4BPzz4VQ84LZsvxS+lSF2hGmpFXB0PP/TrJ86b0NNKkMSYw6KenlVZl VEmzITkYVGzb15EgK95us5OGh+tfanz8strG7j3PE27I82FOnB/zKNpHPxc6r62ZuUjL 1j5I3XiiyYuh+EOXCF2YnmIIis+G5R54EWQwjY8hagAyxga7EQOGBwzwDNB0ZIyhaUOJ /u/ZG+ME4bsF3uJbYvRoNBRQxjmsIX89GWlaCCz821LmLFS+0mr5+hg0sBrcA8gXx3t7 +q1w== 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=H3SoCP2ORKvlOlHkqjB85PYtzogR+n3cygyx5wlE/+M=; fh=klvHg/7nK9YmY/ldnAZaxfYEP0xeo8JMS9SLrM1l4MU=; b=LV4ehseBeAgV0eog/DxVs1XSubG6aIau2wPDH4+F9QO0LhWFzLwFHunGutZPsXM8Z6 BdNKkZd4bSb6UuQdEuKkPYQtzvmBNPH4/pmLnmNM/gJ2Tz7kje41SRgfi+Pb8FCZmKgZ WC2yGFr8fHqmD6TLHowg5F3VBzX2UDlVoDeq75AgCKESEqlf0SBJxBtNjKbeFBQp8iO5 LUhdO8hXijhAxYkM2gMaEHLqe2xYdRwCGiMugq8pVR0T03lLTVoUnOZWamCnLBQ5n0ag Ye+4epc4Z83YLD4NoQc0h9bMFJ3RA1q8v1SIsxGJtAVH0dlDvGhQgiKqRV1XX6LFmbRS GHgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rc2JVawT; 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-38339-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ef10-20020a05620a808a00b0078378c5d40esi12592755qkb.563.2024.01.25.01.54.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 01:54:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38339-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rc2JVawT; 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-38339-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38339-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0CF871C214FC for ; Thu, 25 Jan 2024 09:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1F251C6A6; Thu, 25 Jan 2024 09:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Rc2JVawT" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 6A63B1C6B0 for ; Thu, 25 Jan 2024 09:54:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706176459; cv=none; b=Lh5vaWCT61u3sUQuvUSZXGmvRP3ir2s4TjMTf4P1OsVLc0ASUon8dS0VHlCuFKbLrjiudXnH5J+ABf+ny9VSgYv+6sPSJuANYKfEI9U6VxgceeYBSGlqoXZlkXK5i8QaVJ9yAqWz8nLR5VoMJqKoN0pvY+JxgD3bUhihxNQOkBI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706176459; c=relaxed/simple; bh=4n2BIH5baRTWNGr2u58wyV0dSVRsSNuquzi/U614OY0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GsR/IrZAPV91QdBLZ0H7z8hOJy3egLxOY8hU7OcSUUJf7TYj4k0DO4+QKmkegn43zDo/tMOdkT/+WZUXCyXtG6Rz6vzUcKSgj0D1GFXvrckGHWEdBCxMpURrXDnbmjeUDja384aBjC9XPzcGv5ViFeJxDdqtGQhXCM26+oDXE1s= 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=Rc2JVawT; arc=none smtp.client-ip=209.85.167.43 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-lf1-f43.google.com with SMTP id 2adb3069b0e04-50ea9e189ebso7549877e87.3 for ; Thu, 25 Jan 2024 01:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706176455; x=1706781255; 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=H3SoCP2ORKvlOlHkqjB85PYtzogR+n3cygyx5wlE/+M=; b=Rc2JVawToGeh6WJdQWkp6DQBktj9Y7nWjJywyhjj+w7tVDTpjwEgTva+WM3doDM/PV qel77CpGlyS3XFQoUPUVFJXXOEGdA2KbzWjkqWHwygOLFtYQmxszvQW0RX1VWz+phMX1 c9bpDG55RoY+YDQH7PPZZPbhB7aAPKzvRpLXLLpwXeSEIcUe74cjdMB0cJQFFVfAjQ20 owfoVDR/nXr9R4sRC1QZzfe1Z8aUNmtRclR0z+4hO2ISH43oMv5Ht3BMD68tJkd6CinT 9ZM/9Mprrj2QEx2tbP8c3q4oy+nOeRuZRi4T8zniI+UnhEK1OUCaFl+LqXUwtaevZMkm 2tGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706176455; x=1706781255; 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=H3SoCP2ORKvlOlHkqjB85PYtzogR+n3cygyx5wlE/+M=; b=dz15jo+tw4zFq93ySqWX0MFgjkVA5YpetNAWtBAXHc4d3ylKUX7jW6vEAxpygIWKrS Ty0wnKEx/cl1cWwp6+AEMlTWnEOAXwm4tLheQqf1ClWpJE8KqdFcoAF3Z4ZGbAOFITDO LKHg29ZgEzapLmM9TrbUB0OaP3DzJPfJkiZ61ZANUi4NdzyReHAKvDHj7PYgS8eXLtAs w2fcDiP9IDNMQIHlqQfY1uZr1kOxtIu8mg7uuHrUOmnNeJjq5dFlP03ExBBFRRtE/C40 NIv21InAbsWZRePrxi14Cr/jjp95JrcHEFmILypN5gZp6NSUE0t66B31k0YZbt99ejS5 +wWw== X-Gm-Message-State: AOJu0Yz5cUMdAGBY3BgO+pKt2d6B0PnQe9pxnXdAUdI4gBmBO08Ryc3v gNoe8wHPmXKgryp4x4uscycpQ195IYeP/Q3sIUavm64epug6/1ro6lq2zul4rUo= X-Received: by 2002:a19:ac02:0:b0:50f:1c2a:1bc5 with SMTP id g2-20020a19ac02000000b0050f1c2a1bc5mr364307lfc.17.1706176455422; Thu, 25 Jan 2024 01:54:15 -0800 (PST) Received: from [172.30.205.155] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id w12-20020ac2598c000000b0051007e2a2e7sm713457lfn.231.2024.01.25.01.54.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jan 2024 01:54:15 -0800 (PST) Message-ID: <1af3fa85-7607-47c3-a928-2f620b65e1bd@linaro.org> Date: Thu, 25 Jan 2024 10:54:14 +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 v2 1/2] arm64: dts: qcom: sm8650-mtp: add PM8010 regulators Content-Language: en-US To: David Collins , quic_fenglinw@quicinc.com, kernel@quicinc.com, Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong References: <20240123-sm8650_pm8010_support-v2-0-52f517b20a1d@quicinc.com> <20240123-sm8650_pm8010_support-v2-1-52f517b20a1d@quicinc.com> <892058db-8013-879d-6c6f-3fbbf4ed3c57@quicinc.com> <30e890e8-42dd-4b36-a133-95bb34c109d8@linaro.org> <884eb509-a997-869a-762b-b4c24ff89c27@quicinc.com> From: Konrad Dybcio In-Reply-To: <884eb509-a997-869a-762b-b4c24ff89c27@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/25/24 03:52, David Collins wrote: > On 1/24/24 15:36, Konrad Dybcio wrote: >> On 1/24/24 20:15, David Collins wrote: >>> On 1/23/24 00:49, Fenglin Wu via B4 Relay wrote: >>>> From: Fenglin Wu >>>> >>>> Add PM8010 regulator device nodes for sm8650-mtp board. >>>> >>>> Reviewed-by: Neil Armstrong >>>> Signed-off-by: Fenglin Wu > ... >>>> + >>>> +        vreg_l1m_1p1: ldo1 { >>>> +            regulator-name = "vreg_l1m_1p1"; >>>> +            regulator-min-microvolt = <1104000>; >>>> +            regulator-max-microvolt = <1104000>; >>>> +            regulator-initial-mode = ; >>> >>> Optional: >>> PM8010 L1 and L2 physically support LPM vs HPM configuration. >>> Therefore, these lines could be added here to allow such configuration >>> by software at runtime: >>> >>> regulator-allow-set-load; >>> regulator-allowed-modes = >>                RPMH_REGULATOR_MODE_HPM>; >> >> David, >> >> I was under the impression that *all* RPMh regulators support >> modesetting. Would that be an incorrect assumption to make? >> >> Konrad > > Hello Konrad, > > That is generally true. However, PM8010 LDOs 3-7 are a special case. > These do not support LPM configuration. The limitation is enforced in > the driver by this change: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2544631faa7f3244c9bcb9b511ca4f1a4f5a3ba0 Oh, I never noticed that. Thanks a lot for confirming! Konrad