Message ID | 20230607115508.2964574-3-l.goehrs@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp303207rwl; Wed, 7 Jun 2023 05:10:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7z9PBvYbsNQestjezegwVizzRFCaCUwKizBYPW+kJjzHRGj53Y6XOie9WQzv7sUWtLDgdt X-Received: by 2002:a17:90a:11:b0:256:6167:c725 with SMTP id 17-20020a17090a001100b002566167c725mr4649094pja.6.1686139804905; Wed, 07 Jun 2023 05:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686139804; cv=none; d=google.com; s=arc-20160816; b=gA2pCXfWF3RJox96vO6ZxoHST/xSCfqIEI8U8P64Z4KyE1hd6mfAh9h1rViUKZz1jh phPyXLtgCTw1wGY1NzB5K7X060C/goT3eYBT6T1NvFLpL2cD/10VVb9t/S92FNvoi5h/ n858fJ7uybuMVD0PbTan2q5CAdXzdTzo1ETE0Sp05XBqaBgRnrKyZiMp3v2Lv7OEFlOA un8hunWayRTvqJe53zpih7iHz6EySWLCiNRcTH5apwgtHZ7TlSGznwxNCo/luFJVf707 +3DEd2KEDQF486rmL69I5l/tjVJf//om8DGvpqn+xU7SajRWl1T1I+xa/FVLLUDA9ee8 W9yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=wFwn3/0bpqb6siyx74wm+IcTRDcXJvjshVwGfUuMrv4=; b=WN9XDapm57NdT0MPmFHIDevEva/j7xVrro5KUCqCbCsewBkabnT5sYUYj0iE988Und IeksHR1vd789qf5c3BtjpYNKyIX2ftkQCKntSVZWvIQio/hIB6gS0cWIRN3MTZGbF+iy veuRnQfeaGYuENyYX2S3EzztNzU75pPvTeYSAkxzqExplHbmmgck4ETFt9D+cqOkmc6L 6wqLZ9qbM5K0ZWm3eMWEZyQTVODTXDmyDL6/RwtTas36AjjeZ4rtunSZta3Ew0GMJy4s rklQbbSxhkY+XqFzRwq5ZsJ9tiz0jsKEW84LOmCxKBkjgxQY6Z4TYTVzvDXFbw4LFCnz aCrA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt11-20020a17090af00b00b00259a11f3a69si1019244pjb.145.2023.06.07.05.09.48; Wed, 07 Jun 2023 05:10:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240440AbjFGL5d (ORCPT <rfc822;literming00@gmail.com> + 99 others); Wed, 7 Jun 2023 07:57:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240012AbjFGL53 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 7 Jun 2023 07:57:29 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4460F1BD6 for <linux-kernel@vger.kernel.org>; Wed, 7 Jun 2023 04:57:16 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <lgo@pengutronix.de>) id 1q6rmf-0000CL-Ll; Wed, 07 Jun 2023 13:57:01 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q6rme-005jFm-0V; Wed, 07 Jun 2023 13:57:00 +0200 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <lgo@pengutronix.de>) id 1q6rmc-00CT0f-Th; Wed, 07 Jun 2023 13:56:58 +0200 From: =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de> To: Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Sungbo Eo <mans0n@gorani.run> Cc: kernel@pengutronix.de, =?utf-8?q?Leonard_G=C3=B6hrs?= <l.goehrs@pengutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/8] dt-bindings: gpio: pca9570: add gpio-line-names property Date: Wed, 7 Jun 2023 13:55:02 +0200 Message-Id: <20230607115508.2964574-3-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230607115508.2964574-1-l.goehrs@pengutronix.de> References: <20230607115508.2964574-1-l.goehrs@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: lgo@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768045731939179890?= X-GMAIL-MSGID: =?utf-8?q?1768045731939179890?= |
Series |
[v1,1/8] dt-bindings: display: panel: mipi-dbi-spi: add shineworld lh133k compatible
|
|
Commit Message
Leonard Göhrs
June 7, 2023, 11:55 a.m. UTC
This patch allows giving each of the controller's pins a meaningful
name.
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
---
Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml | 4 ++++
1 file changed, 4 insertions(+)
Comments
Wed, Jun 07, 2023 at 01:55:02PM +0200, Leonard Göhrs kirjoitti: > This patch allows giving each of the controller's pins a meaningful > name. Isn't it gpio.txt already mentiones this? Perhaps you need to convert that to YAML and use it here?
On 07/06/2023 18:36, andy.shevchenko@gmail.com wrote: > Wed, Jun 07, 2023 at 01:55:02PM +0200, Leonard Göhrs kirjoitti: >> This patch allows giving each of the controller's pins a meaningful >> name. > > Isn't it gpio.txt already mentiones this? TXT does not matter for DT schema. It's is already covered by dtschemas. > Perhaps you need to convert that to YAML and use it here? How would it solve anything? We still want constraints, right? Best regards, Krzysztof
On 07/06/2023 13:55, Leonard Göhrs wrote: > This patch allows giving each of the controller's pins a meaningful > name. > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> > --- Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Wed, Jun 7, 2023 at 1:57 PM Leonard Göhrs <l.goehrs@pengutronix.de> wrote: > > This patch allows giving each of the controller's pins a meaningful > name. > > Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> > --- > Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml > index 5b0134304e51c..452f8972a9659 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml > +++ b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml > @@ -24,6 +24,10 @@ properties: > '#gpio-cells': > const: 2 > > + gpio-line-names: > + minItems: 4 > + maxItems: 8 > + > required: > - compatible > - reg > -- > 2.39.2 > Applied, thanks! Bart
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml index 5b0134304e51c..452f8972a9659 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml @@ -24,6 +24,10 @@ properties: '#gpio-cells': const: 2 + gpio-line-names: + minItems: 4 + maxItems: 8 + required: - compatible - reg