Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1268102lqa; Mon, 29 Apr 2024 03:39:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXb+NBtgmawbNfPmRvHOhpdMNn5QyKwIHmC4lWTSQfVwi4G8cPGkRXTABIDZIQrYKYCYW7wm4+ZWNtDv/Ui922Pf8axiy3x+xsWVTUECg== X-Google-Smtp-Source: AGHT+IH2IaDdq8b4YR+XTOxkVSChQye4a1IfZ0bRlL0HUUkB/HvNgv86gcTYtNH28ntSaNEi/9Md X-Received: by 2002:a05:6e02:1fc6:b0:36c:c8f:89b with SMTP id dj6-20020a056e021fc600b0036c0c8f089bmr12376246ilb.11.1714387144860; Mon, 29 Apr 2024 03:39:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714387144; cv=pass; d=google.com; s=arc-20160816; b=RT/6Kfry8RN8GK8cX/NQ/KhBClQzP59IZGgE1A7T/wUUMbRSki58uqbLtBj4rSedhY Qa4ND7il4042SDXQKESYlKCVF4caRlmlo9CeTCOPYvTt3Qh1ciLxVo5Hh3bVXZlidBWk M2u17nxXJR2dEfzzBIiFOzJVaulYkLYSPyF1RlThdADbAXf6zbW9XI3A5hj9OU+4TW3a fgV1xaAX4Tr6jnG40qv0KVweK6KhFGFJ6vu2/7FhY5jIzK/BN6XFTDFk82Vn3hkKgkPX yhAMIV6K/Pndq8UJ5aWgjUJMaeN68NqslEyndh7444O2Otg/ml/p0YvBr+MRqIcEVl5n esvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=k+HY0/8eQZDYc7EJq2OS9HjETLdWHQ1KFseki352HDY=; fh=rzwQvBT9x5W/VAxohjwRVIJ3szMTcEbL1NFQZRu5JSA=; b=PvCNMWM0mL3ANoGzidZS0AJ+SYQk4bEaclEXa5kAFEDEPJZU6Egjl2SM2nOkTC1DCp 2xbdXMsNFMqULcmKrJlCacH1afDpvneJ7r4z+1hUfLgoYHPluiiR/BJglV8fPYDK6P0n CdBGBxwPrC9jYe3Kbd34dXXqQiA1fNAXE6uqulMs57Q4t24LtbUCh7sSvfSsYwzzhfgD 9iCCEY/fdL++aKjNpOqZqgBgYJtY9h87uqO1+iqYshSSAANmadnMa0/GoUfzRGnf8l0F VUVnNHkmob5PNIFrny0ICgH+Ic3EohxdaztuvOggVXT8hGtYmPacAM8lE9EnvdnTdN2T jtXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CVXDGWze; 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-162075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162075-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id w186-20020a6362c3000000b0060b5b3ce372si7056673pgb.309.2024.04.29.03.39.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 03:39:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CVXDGWze; 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-162075-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162075-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 933BB28328A for ; Mon, 29 Apr 2024 10:38:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8692249FF; Mon, 29 Apr 2024 10:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CVXDGWze" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 178F41D68F for ; Mon, 29 Apr 2024 10:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714387058; cv=none; b=r4GtbqMsc3fhtEiaxVrRMbJFshkn4K6c0KggyV8SlUcX6OYlIK4SOgoSlWkX2bMiPHsiA7/qAUaB1hZId/ur9DcJCnQMJyqGpX5kqOmP3cYpvZ61wPNp5/aYbRMfevZI7N7jazB/gAgE/pkzSkdfYCjDuTa49Aw7hBn2iDRRfAw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714387058; c=relaxed/simple; bh=WJOLQYAvBYdjy4HjoPjmjkcsk5XPb/f+n2lDWzlpbDY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WDtkP6gzTyRWWdy6kNu2BMHVdzqI+zHH+i14fZzD5azYsXK6bHdhbjlRwLTxqrrS00nodU9T4cQg+C93OsjyfxSUqwg7ZgwKlu57057tp9v0+tUj64GSmLQyIvPF37bggp20cqo2YN08svgULU+Dowk2tjD7cHSIJC1KauhdsUg= 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=CVXDGWze; arc=none smtp.client-ip=209.85.218.44 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-ej1-f44.google.com with SMTP id a640c23a62f3a-a55911bff66so522447566b.0 for ; Mon, 29 Apr 2024 03:37:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714387054; x=1714991854; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=k+HY0/8eQZDYc7EJq2OS9HjETLdWHQ1KFseki352HDY=; b=CVXDGWzellheWhePrcEafwPrK8AkEwSiKExyxdEgSksOO4ZCwI3iY0pqVAFsCKTpxn 6e9ldZvTNfdyAJzxOQLMPUMsdWsQzlPS4oJQLAhhqpRU9cOlbPhvDh/7YAlVITLR9GHq ZTUZHQajxwzpKlKHnAN9Ek/zoG5m8R6qv+gNZxBE1adJIfSglUpA2mhYrY24by+zjm0k BuwhwxPEGcG3gztDptpfZ9uI5Az3mY2v8e+PdoAIsN5HhYeCfze4Mb54VMkJ+Ck5um27 ALaku8jkOXCFZkqyVjorbNNHbOAZnBxOEMJk+1l8PlTIXdn9Ex/wP8Ji3W7fN2lDzFdb qw0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714387054; x=1714991854; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=k+HY0/8eQZDYc7EJq2OS9HjETLdWHQ1KFseki352HDY=; b=ubECWl3PCqItnDmwsuAzLp7B4LPFjApZGwXJnHUmCO8/UqR32RNJTFbzQ6l8lT26We e29xNC9HMqK/ykVHqC8AKWzzzLJt20nViysHZZqoJ8UB86ONx0H6fCUIU+uwhlvNdHQq /yG8x/MVTO6FdfaouvWdw7+05W2Xfih+jgG5mEREaEtcR7QyPAvmyRFx0yXIks9CCO9w ZbzcKD+ETy4ivQYWF7eb+c/wHEkbVi6S50PRj5fGZX/NRYRTBroNmwWSlXq4BMmyJBaD Na0NUi0tgsquIq0RYadBXFpnlCFutjRVuL8tyO75Zn93+6ZiEuy/XqTb9E0N1O/wjFpj hZfw== X-Gm-Message-State: AOJu0Yw5EZolOTIhS9ZPH+TscRRgsMwG+iLTvLP2zMiAtKiyMGUh/agJ i3a5rZLQvAgi7LKDH3GPD6P07l61m6UEnaDXAAsTE63wtlP+lTvGiUekidrSZwA= X-Received: by 2002:a17:906:4a83:b0:a55:5e89:a158 with SMTP id x3-20020a1709064a8300b00a555e89a158mr3988888eju.68.1714387054379; Mon, 29 Apr 2024 03:37:34 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id e6-20020a170906504600b00a4e26377bf1sm14003014ejk.175.2024.04.29.03.37.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Apr 2024 03:37:33 -0700 (PDT) Message-ID: <1b86b755-62cf-4990-9c7c-29444038d17f@linaro.org> Date: Mon, 29 Apr 2024 12:37:32 +0200 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 1/2] regulator: dt-bindings: rtq2208: Add property to get ldo of RTQ2208 is adjustable or not To: Alina Yu , lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, johnny_lai@richtek.com, cy_huang@richtek.com References: <1714385807-22393-1-git-send-email-alina_yu@richtek.com> <1714385807-22393-2-git-send-email-alina_yu@richtek.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg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o71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <1714385807-22393-2-git-send-email-alina_yu@richtek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/04/2024 12:16, Alina Yu wrote: > Since there is no way to check is ldo is adjustable or not. > 'richtek,use-fix-dvs' is added for that. user is supposed to know whether vout of ldo is adjustable. 1. Please wrap commit message according to Linux coding style / submission process (neither too early nor over the limit): https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597 2. Start sentences with capital letters. LDO is acronym. 3. Constraints already tell you that, don't they? Explain why they are not enough and you need new property. > > Signed-off-by: Alina Yu > --- > .../devicetree/bindings/regulator/richtek,rtq2208.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml > index 609c066..3951679 100644 > --- a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml > +++ b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml > @@ -75,6 +75,14 @@ properties: > description: > regulator description for ldo[1-2]. > > + properties: > + richtek,use-fix-dvs: > + type: boolean > + description: | > + ldo vout ability is determined by this setting. If it's set, the voltage is unadjustable. > + There is no risk-free method for software to determine whether the ldo vout is fixed or not. > + Therefore, it can only be done in this way. Wrap according to Linux style (as expressed in Linux coding style document). Best regards, Krzysztof