Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3679072rdg; Wed, 18 Oct 2023 02:54:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuKPHeFz/MasD7S9EB5w0LksS0s28Tib74htS2mXIl5AqQBwVNZLcahyrgIPiSsqzoWPd1 X-Received: by 2002:a05:6300:800a:b0:159:c24f:5fa4 with SMTP id an10-20020a056300800a00b00159c24f5fa4mr3809290pzc.1.1697622854554; Wed, 18 Oct 2023 02:54:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697622854; cv=none; d=google.com; s=arc-20160816; b=LETfzq19TDApuqpTIJmIjkbs8Vb1161XZUKecvJ46elEPkm8zaDPepN4VC8H61tATO n/wcwW12rV7pw4kZqxQ9XBEnJJbw09gFAW0PJJmc1t47+OIP2R+Uh5lDU6hjK5wy9H9n 76P2kyizfQ9Ap2A5aP4KivbTVcLtbn1bvUFjTb42Pz168Jds0hrPwjnJ86nAwVipJx1l 2pc2kOtSDwIK6G6rVBrbmdQ9kJYdbVRYV9Wa2tA8eWeDsfQk0aiLGWSTCgnqLIoy3Cqq WvdwYe5ncS15mb7QywURr76yZzBlvLENstqghkverko6EFcPkPdixT2q9qDKaWFs53OQ 7m/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=hwAj4cQ1OeYj0R5+oJwHiaOKZB8J8HDi3IYHSNa2xUA=; fh=H1/U7zsFZS6wk8tABeirG4f0yVnskcdkNG1oViUlkZQ=; b=MpoI0uOrmuFeUHknQZMjsK86k/eP/vEYR75CA+Qk4k4KAVr0sYvh3YVPTak3qslnAK OaO/SZqI19UG3XxpPkgSHSRh6kILBURsqWK7gzztUqmuCzKOQ3SgB/HaccXWk8CJXnYV bwv73GPmIXPtdmEgsdhGHxBgJmiFovSN1iGixHZP/gGWFxUcJae5xdDpe7eIYYxi7R80 uuIDh8+S6ZKJp5diZOlbiqe3xS8K6JwAZJ+ixP0RF1zFx32AuHAMz+zsy6sUt1j9QgE+ 65l73Gr4/ywuhrWmCdYS5fDUaDzvI1gzOGpfv1JGuIdjxDbc7953ixnmqW4Wscn7NsHl gDDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mf6NgDbQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j12-20020a17090a318c00b00276bdabe471si1181529pjb.163.2023.10.18.02.54.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 02:54:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mf6NgDbQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BBB418025DED; Wed, 18 Oct 2023 02:54:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbjJRJyA (ORCPT + 99 others); Wed, 18 Oct 2023 05:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjJRJx6 (ORCPT ); Wed, 18 Oct 2023 05:53:58 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52991102 for ; Wed, 18 Oct 2023 02:53:55 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2c5210a1515so49346011fa.0 for ; Wed, 18 Oct 2023 02:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697622833; x=1698227633; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=hwAj4cQ1OeYj0R5+oJwHiaOKZB8J8HDi3IYHSNa2xUA=; b=Mf6NgDbQ3SAd1GqS04jCvgO/JA7Ah4uG9YSjzE/YIcgfru6UHp+qlTzdBzki8BcoUB A4lZp90kQ0LOBx4TyWof56ImPdDOlhtz4nmNhsPGKJqNeXO4XcJrM1Xqgfp4at0FpemJ DQTNywvFjoM4KrSpRJGmE5TPdx1sK7WR9I4vDClivvQhw3zN5K9xX323SpkT5AeBHTo7 WWTKhQm94dP5nP3w3bRx24YsJfzvXoedZoe8PjFtWoaXm6eGkLBrmHAH47l05FMHDNsg VNtAQausIZHsDaajk4AFEK4vSvAxuG8bOoLPqntK/sFPtfI4E/jn4LP7vUCLjMsCPHrJ drwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697622833; x=1698227633; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language: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=hwAj4cQ1OeYj0R5+oJwHiaOKZB8J8HDi3IYHSNa2xUA=; b=iWS5WW6sM9Aeo7C8WXszsAJvkltZvBLTztptrGnuY3bqH3+dQMscnxRi0Emj/8V2Vq 9mCaO9FONXaLPghtFdb5QVPnHJ62s6ny6+3aJ7qr3VuAGWHoMYEgRhev/adtS50LYxmU OcRbBB3N9BMQKynfnoWBDfRayy/5I+GyYR++aQo2sfV9Ane9SRGe7daPjfHbcxCSdF5s qbKfNVjoCZ07UlOsjnV6dlt2LZ7fB3OJyO8N/esbh4u1mnwPAGbriitl3VuhrQ3ONlqO RQzfK5/LkM1Fm9WKhYVlVNKSZ955jFI9RHL3kIEDV2bpYwcMhhZYHI8D5+VU6cGzLp9R HsYQ== X-Gm-Message-State: AOJu0YyjFJGHX69srYzx3zqef5VfAslOyNaghdKlADeumcfWUTUAH7Oc yq1E4U/rExH2BjgDCaGPmRd6vg== X-Received: by 2002:a2e:b8d4:0:b0:2c0:d21:39de with SMTP id s20-20020a2eb8d4000000b002c00d2139demr4027709ljp.42.1697622833506; Wed, 18 Oct 2023 02:53:53 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.154]) by smtp.gmail.com with ESMTPSA id l16-20020a7bc450000000b003fee6e170f9sm1206385wmi.45.2023.10.18.02.53.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Oct 2023 02:53:53 -0700 (PDT) Message-ID: <4ca28f03-eb05-4cd7-ace5-8cbc0d108b6c@linaro.org> Date: Wed, 18 Oct 2023 11:53:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] dt-bindings: pinctrl: Document nuvoton ma35d1 pin control To: Linus Walleij Cc: Jacky Huang , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, p.zabel@pengutronix.de, j.neuschaefer@gmx.net, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, schung@nuvoton.com, Jacky Huang References: <20231011090510.114476-1-ychuang570808@gmail.com> <20231011090510.114476-3-ychuang570808@gmail.com> <7800b2d6-33c4-4c4f-8d0c-c11ff0e47535@linaro.org> <17a80031-98bf-48bf-8cea-c0ca4400f142@gmail.com> <254837e5-a0fa-4796-8928-277db4b98bf1@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski 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 S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGun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4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 02:54:12 -0700 (PDT) On 18/10/2023 10:18, Linus Walleij wrote: > On Mon, Oct 16, 2023 at 9:52 PM Krzysztof Kozlowski > wrote: > >>> I noticed that 'xlnx,zynq-pinctrl.yaml' and 'xlnx,zynq-pinctrl.yaml' use >>> 'power source' to specify the output voltage. Should I follow their >>> approach or define a vendor-specific one? >> >> Maybe Rob or Linus have here some recommendation, but I would suggest to >> go either with rtd1319d-pinctrl.yaml approach or add a generic property >> to pincfg-node expressed in real units like "io-microvolt". >> >> Rob, Linus, any ideas for generic property replacing register-specific >> power-source? > > The existing power-source is generally used to select between (usually > two) different chip-internal power rails, such as 1.8V and 3.3V. > The format is a driver-specific enumerator. > > We *could* just patch the documentation for power-source to > say that microvolts is the preferred format but legacy users may > be using a custom enumerator. > > io-microvolt seems like a more long-term viable option if a wider > range of voltages are to be supported so I'm happy with that if the > DT folks think it's nicer. However notice that the power-source > property is already being hard-coded into things such as SCMI > and ACPI so it's not like it will ever be replaced by io-microvolt > and phased out as far as Linux is concerned. Not the next 50 > years at least. This I understand. I think It is better in general if generic properties use units (e.g. drive-strength-microamp, output-impedance-ohms), so it could be here "io-microvolt". At least for the new bindings. Best regards, Krzysztof