Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp262041rdb; Wed, 20 Dec 2023 11:25:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvB+vE6+BrTOfYlIEIbnxEbyC6PxvNorPKAqrUOBtKNtg86ZNOjlFqo12+JVPgjyJ6mguY X-Received: by 2002:a17:902:d4d2:b0:1d3:ce75:a692 with SMTP id o18-20020a170902d4d200b001d3ce75a692mr3934106plg.87.1703100333463; Wed, 20 Dec 2023 11:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703100333; cv=none; d=google.com; s=arc-20160816; b=gN34CwJWvGW0afmQrrhinpQW/Cv8ThZkOVcsOWYsCeFXdXVpjDs0rQI+IKZR1mKtmB sPritwCELARRDxTDp6F6gTN+PY8I3SPrKluXamD9ZYcDzxF1EOz05RLhW+svK0essnPh qvT+5ztT99sKK4Ujm5kbYwbSGY4/RUKLDKFB3ABhdIihINnNG74lWABn009zA6JoDR09 pFc4YUr3W2NEk5UG77JlSuBtM5G+7NyWJZedkEsHcQU4B7OnKC0Y3Fl/mFSjNsrNpMkx CD6suKY8kh8XNGAB3mzeEkc4NmD2jxIuGO8dL6q4Tj57cGSoLAevgMwi3KfZfflzeTk0 aOsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=QNmCP+oe3oSMVeft7bEuEgPHXSe736/+Mn6NnLSCe2I=; fh=se4gpelFOP0qsRPwSgOTeA70qJRLNj62qvhpsayIsEk=; b=m5p5pm2Ct6gQP02pW/RM01gk1oukPdT0EUFnWuK/Imih93SGMCdBgL3PFQxdo32GYL y91wR0x04MKNd2lXMwht1SAOje+Litg1YwPkORAPKQDYHp6yp9vVG3frD1n2tlcVSjYm 02oXH6C9Ty8oIOd3MyXhl/nTYkC9mYerOKQPLepiCPGt+bAAM/+7Ky9zlV0X8Gv2zXI7 GdRtBL5qGpdhrxAYv4zrw/iXHtV3B5q4kyKYO0Ic05zyuS++bwxuvAMPQrwv5oEPZ9Ae PVBQ0kvaiVbx6qAL2sT+ndBPPurpUKCullKBmuzXk6CA9RdVgp2NXxoJZI/vvzvFIcBB v6og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zFlspcyi; spf=pass (google.com: domain of linux-kernel+bounces-7392-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7392-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 q7-20020a170902dac700b001d3e11d5ca9si130669plx.258.2023.12.20.11.25.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 11:25:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7392-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=zFlspcyi; spf=pass (google.com: domain of linux-kernel+bounces-7392-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7392-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 F30E628740C for ; Wed, 20 Dec 2023 19:25:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6F0548CEC; Wed, 20 Dec 2023 19:25:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zFlspcyi" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 B41D248CF0 for ; Wed, 20 Dec 2023 19:25:10 +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-yw1-f181.google.com with SMTP id 00721157ae682-5d2d0661a8dso508797b3.2 for ; Wed, 20 Dec 2023 11:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703100309; x=1703705109; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QNmCP+oe3oSMVeft7bEuEgPHXSe736/+Mn6NnLSCe2I=; b=zFlspcyihG7gzbLJJMkrNtjBdvCMt+fHWDNFvGaAQ1t3yUqL7425UfcBNu1+mYegI7 AdzHNZ8Mp6pgKv87k+JCS7KI/TWQTIkGJrYc5gMqmBla/x+cFxHZUOianeg8zG+S4TVw qJ4E7UA9qQ4BADjLwjNValnWejobFeoifiZ2GzwfXtatdONsgytdGgUos+RZn4oOUkN1 TiGHK4KReFPN4ZTsyf09lV1NUVVcI3PotTvfbTwUzXf+LN9sB10/sOzo2JKDGUEm9Mhn 7J6HjmLTVxLgHzLchD89JlgAgTaaPZ/cSrDKYi9EEOs3R08zfdAUYGrGFA2MsHmAoc13 hZHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703100309; x=1703705109; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QNmCP+oe3oSMVeft7bEuEgPHXSe736/+Mn6NnLSCe2I=; b=T80mMfvdq7OMANcC/Hc0nET4+k6jos2Ds9s2QHdPaUceuw2/8F28M3KU2rldyDu+uc RCKZ2cb6pXnzmldOSXH3IMkAQNTJebyPW0ovOWAdAB4ErKLWAgq96t5LhCpnaMVGANY8 QJiUyOmWK1i07Wzpc7raSx1VaouHbhZLTjMShG7mjR8agiqGhz/fQThOOWS3s85QHcTT YF9BflBYQwggNyIeU2bIcRBm+cHulSKt7UXLrTtlWTi5rHTpzydUBBzg6whH/IStK1zB VUSzMLoCgxQXDeG24BV2DLMTLY0qK2BboLl9wyn5SZTkBjBcC7GK340fmGCXtRPMYYnh 1Bkw== X-Gm-Message-State: AOJu0YxgkZQ0y1BRkPjABwYCVXVQrPQyiXWyOtffjhOeEB69UIGVtLd2 duvKs8CWWjOLhvEg0ClIEbGkYEv1i3ufsWqLRCoMXA== X-Received: by 2002:a0d:d80a:0:b0:5e2:a469:71b6 with SMTP id a10-20020a0dd80a000000b005e2a46971b6mr258824ywe.4.1703100309747; Wed, 20 Dec 2023 11:25:09 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231215143906.3651122-1-emil.renner.berthing@canonical.com> <20231215143906.3651122-2-emil.renner.berthing@canonical.com> <20231215202137.GA317624-robh@kernel.org> In-Reply-To: From: Linus Walleij Date: Wed, 20 Dec 2023 20:24:58 +0100 Message-ID: Subject: Re: [PATCH v1 1/8] dt-bindings: pinctrl: Add thead,th1520-pinctrl bindings To: Emil Renner Berthing Cc: Rob Herring , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Hoan Tran , Serge Semin , Bartosz Golaszewski , Andy Shevchenko , Krzysztof Kozlowski , Conor Dooley , Jisheng Zhang , Guo Ren , Fu Wei , Paul Walmsley , Palmer Dabbelt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 16, 2023 at 2:57=E2=80=AFPM Emil Renner Berthing wrote: > > > + thead,strong-pull-up: > > > + oneOf: > > > + - type: boolean > > > + - $ref: /schemas/types.yaml#/definitions/uint32 > > > + enum: [ 0, 2100 ] > > > + description: Enable or disable strong 2.1kOhm pull-up. > > > > bias-pull-up can already specify the strength in Ohms. > > The strong pull up is a separate bit that can be enabled independently fr= om the > regular pull-up/down, so in theory you could enable both the regular pull= -up > and the strong pull-up at the same time, or even the regular poll-down an= d the > strong pull-up which is probably not advised. bias-pull-up; <- Just regular pulling up the ordinary bias-pull-up =3D <100>; <- Same thing if the ordinary is 100 Ohm (figure ou= t what resistance it actually is....) bias-pull-up =3D <21000000>; <- strong pull up bias-pull-up =3D <21000100>; <- both at the same time > So the idea here was just to make sure that you can do eg. > > thead,strong-pull-up =3D <0>; > > to make sure the bit is cleared. No use bias-disable; for this. Yours, Linus Walleij