From patchwork Mon Feb 12 08:34:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 199619 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2301871dyd; Mon, 12 Feb 2024 00:35:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVejgVEVDf4IuCIVbEorkmtVgf3SFH9TqYHxxloEr7Ol0EnCGIjG/DHadmtMSYZIJvYbqo X-Received: by 2002:aa7:d6ca:0:b0:560:d9d5:7b11 with SMTP id x10-20020aa7d6ca000000b00560d9d57b11mr4414266edr.42.1707726903177; Mon, 12 Feb 2024 00:35:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707726903; cv=pass; d=google.com; s=arc-20160816; b=qqAo+XGwqymWeDRI8BtVIBRt5VP8sgEXT+oZeViD3WAXnXmQ+uCzFJNxkIc12x6FrU wWdZ1uTTPjxKRULFKc/XnU24TSNHKQRSU8ZCyAKioL6H7ivxBxqnn8c2hnZlDxWt09iL npdTCUgGT4+hOwUl9QVZnHU86LBBJUlrBdx+nnL250Pb33c0xh2o+sGIGguBnj0lPERS UYyXpo++5oiHmDg3c4PG75YIA9JRheO8mYFAJ+YlTK9wRcmX1Mo4g22uedHJ8nCwpunk D9XU4VtorK0xryW76X0HyLmwKA3qvMO8clLfeUTqCLkyfqz1qJ9LrzBU22GeM6eZgdPl JpqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=gv5wKhvz2IkMiVTY6JBsKVbcSvEbLs7uJIPS1y/GGHA=; fh=X5AWO4cpoxTkGRhe2jz8Ufoecabh0SEsV7pdAuKTbt4=; b=fVcTLjBIrG2ovUOTAnk6SHqTuJgDAbYlDXrVqN6AQSJPUBR4j958QQJPlmTn7J5o30 IQyzr72xCUhFl7Gk9B9yHLhmRupwdMyfncmloOYme1YnF4mOBcORV035gpby1Kz/i6Co u+Nzqsyv9K0OQz9tNzoQUgYg5qwpaEIDlkYclhWmSt+GBUGaNreWBy0ZmcTxAuetngeJ QTX2vep/H6cGCSAwp3NmpKmXTqZJEzkV5Qmp4lRDqIeY9pxALeIQomfL5AXyobUcdYP5 jdCAysjRcPCl4veND4M+KZRCFU4vy/0q4AJajusX8Tu3sPWdDV38vwFDBWWY0WT2Woi1 syDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hHVahMUL; 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-61206-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61206-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCWjd2iGb211EIwqH8cd7qqiJBcVN2zp6lQqWvZrhg3mogYDYu/S2AIDT7EW2beBgKll5QOOr+osWofGoJb92xo94rnSjw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b15-20020aa7cd0f000000b0056119abcd45si2552419edw.611.2024.02.12.00.35.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:35:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61206-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hHVahMUL; 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-61206-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61206-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id C8AC11F261DB for ; Mon, 12 Feb 2024 08:35:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE969101E8; Mon, 12 Feb 2024 08:34:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hHVahMUL" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 E12B410A23 for ; Mon, 12 Feb 2024 08:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726873; cv=none; b=nSZYaKPTGa56h6K0Ff7icpom+k44nHgV2ajw+HrmiV1HFhSz9ROVazinmWzosRZM+Fcly6xzd6W/ia6iZASDts25kfaJtNwHot7WQygFPrrdwxIJlwowN+NzB/M0OnWQ5m69oHG/PEGsvWgVfdSWyFjPpxy0CYRkT3cBCmxepU8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726873; c=relaxed/simple; bh=HlXn3h+kaQ0ElD0RQ8Ha9CS2kgD8dt6z4YNhjTiljZA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SGJhZpooEa7Q/0sIE5e5igB+Kvq/ZJsGBn/SQPfAUK13X1vr5Lqj29m5V6FFgwAlcZ4z112dIqQOknWCNC1APd/iuOc83m6NlajH8/6z9Iy1pe2Tp1xeb+u+6PwjcpPgkpX1nuJsCByz/hCHQsUbeNmz7RwHWcGQPVPFWXHU4GE= 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=hHVahMUL; arc=none smtp.client-ip=209.85.167.50 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-f50.google.com with SMTP id 2adb3069b0e04-5114c05806eso4568955e87.1 for ; Mon, 12 Feb 2024 00:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707726870; x=1708331670; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gv5wKhvz2IkMiVTY6JBsKVbcSvEbLs7uJIPS1y/GGHA=; b=hHVahMUL7Ie+bKU+dKwYKKqREmmxVR5DYml1yKsOevkq7Fyc1rggzJIg5dGjU8aTRT zcamReHQwBxIt1g17pjoqcaZKvVw0C/msaA6RqZ+7S/0pn5vekU2qP3H4kWvnn057oQE MLI8aAGZcfH8NZDFNYUGbtJsNuDw7c4hNuUWftJa2gx7LrcUosN/aZpGf8/RHwh/gknv Rc8jYSylKOeChQkViHIsSLaP3UFAuI6i/5U/SHVEOJ73lxcd+gR0l9vL+HqFUDKEZAhg 3bCUfxacZC417VUSrXsSvhzerTzuyMCCEKs124Elbwyk0Yez2Gek7NkFbaQZtPkN2JIE NBbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707726870; x=1708331670; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gv5wKhvz2IkMiVTY6JBsKVbcSvEbLs7uJIPS1y/GGHA=; b=AFzk+N9bIwrH3E1d80b1uKIZkR+1th6s2UTwBh1GWmEedGYYPW8oZcBdHQ/1QpLTEX rrdBAgDKHi+B8njBfc2tDXKSna0SZTB4JBXwYfmaPYJDHJgKVyoXoQkgtsL/b+grilCn hY80X8ctLR3xpfbsXENrHN8hqeQlJfcyLGJ5hkXUa4eAdN/7vkVPsrVpa36NjD0U5p+v uuLOyTtah/jGWjUisgQEoQ4+Hmj+Bvzu6oxLXVPm+YqbsKRodiWqtNuXkdwPJtv6rjS/ u6KIKC3npu25kWni96SG4w80GOG3ghHVxch5QP3GXvkbUeBAVoPeBDCajC+Zz6UDqisu ApNA== X-Gm-Message-State: AOJu0YwnBwkceEP37feVza8P9HEkUHl01jYbAiVyRFGN/G7vsXzvFjvN GKHQyhnBXRBjswAMEjnU/5BqOK0NwoKzkMqRhtIj649au3BflI7Dj/RS8HIc+w0= X-Received: by 2002:a05:6512:ac3:b0:511:622a:97bc with SMTP id n3-20020a0565120ac300b00511622a97bcmr4332576lfu.18.1707726869900; Mon, 12 Feb 2024 00:34:29 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCX2/OOxwQkBfCOqrL69OJ2Og2SLXQbIWxYUftBYaEdpQwcR9KvBj46EaZ/X0p/ECSV6BbcYFfOvCibaxWiaIH8O+40/0TBOGdb42Ra6AqIcOSAVcCwIRGv573ZeMpqVLuvr4YJKNtDlP1j41LiGSiUDlEV69bRyqOTMbMYfZeoUo/MS13JUVmk16rtLWu02oj0un0+f1SKLSEAaBfb9PkljhnaKNk1CPrurjGfcdB+GOhPzgd8rYFcgPH+jHSpRy16k6PrmGXja33hzMUoD53Nor5PTjdU4ofSJDeXN6g8VETb2iRyUdxHLWklpu51CDB2n9fe6R729XyFpfNQzuu558tQ+sozROWCXAuzkCRW8gjrffGPFBWPP01J3r+6Y4uah0YAmR41ZtopZObs= Received: from krzk-bin.. ([178.197.223.6]) by smtp.gmail.com with ESMTPSA id y12-20020a056000108c00b0033b40a3f92asm6111024wrw.25.2024.02.12.00.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:34:29 -0800 (PST) From: Krzysztof Kozlowski To: Linus Walleij , Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin van der Gracht , Paul Burton , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Andy Shevchenko Subject: [PATCH 1/3] dt-bindings: auxdisplay: hit,hd44780: drop redundant GPIO node Date: Mon, 12 Feb 2024 09:34:24 +0100 Message-Id: <20240212083426.26757-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790681445242998878 X-GMAIL-MSGID: 1790681445242998878 Examples of other nodes, like GPIO controller, are redundant and not really needed in device bindings. Cc: Andy Shevchenko Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/auxdisplay/hit,hd44780.yaml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml index 406a922a714e..73d07f2cb303 100644 --- a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml @@ -99,17 +99,7 @@ examples: }; - | #include - i2c { - #address-cells = <1>; - #size-cells = <0>; - pcf8574: pcf8574@27 { - compatible = "nxp,pcf8574"; - reg = <0x27>; - gpio-controller; - #gpio-cells = <2>; - }; - }; hd44780 { compatible = "hit,hd44780"; display-height-chars = <2>; From patchwork Mon Feb 12 08:34:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 199620 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2302048dyd; Mon, 12 Feb 2024 00:35:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFV6leeRZPYAjr3TqCfEWl7tONhLmJkZgyh1XkdZ2cwFWYBX1BqW4Iyo/YggFKY5PGJW1he X-Received: by 2002:a05:6870:d1c4:b0:219:71dd:9cee with SMTP id b4-20020a056870d1c400b0021971dd9ceemr7964408oac.40.1707726938705; Mon, 12 Feb 2024 00:35:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707726938; cv=pass; d=google.com; s=arc-20160816; b=UQK72/KSNsOTldE5InCTUtld8vtwOgnVLchlRZhPBfH3gmVz/GgyGNHA4gCUMdxzuZ ptFQwXV+KS/0Yrmvb5BWKJSa8uIgS84BeAM4AEgldNJpqHaCOKyHSo3mlFKl/wWTLD5n 4AhGzaUif91q1MizXW6lebvlP9zRWS5z2Gbeh+TVYAT+5Nj5mewr6nUNJJ9wkjpVIDSn e/zKjRQYFj+USStgkLaZfq63/ISeSX1STApPxLc+VY1RmLhcMpqyAztLyiwmbFyic67P scQcWHBZszufo9CUwiSADBSXp1y8zvQ4AHY9ZRLYx4mGirfxqNoO12hbqhP3GsIr2Ba6 gaTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=n00h9GUfOjmdouhiAceBbh8Ez7j7mnB3Royxt1AWIfw=; fh=nbuiulE392sNn4eIHbJ0/m8YQfb0q4QBeglSaDDQMEQ=; b=PmqzkvQm4e/M87TMnjUHe/VqK9g18Ykw4dfglbmT4TVlZ9Q0JCdK34luaH7e9lJM29 EB1M97mKx9se/OHvAUsH8mCXNctKq9pciIantQOiw4p2sWoHyCsmPLRLaBC9Z8FbbFOJ n5hrp2eBJJE+1l12RX070EBQUiShCff2POQb7mnEzkaxM5dhOS1q5yRnnO6SjcisJAfq 7lY3mTYk1Q63EFm3RvoqnUPRSWlAv4nGuX3tJrmZwjMp+O0ktw/vMpOgdYfPLmxYKQHF VLrIJxUSBb3xD1y96xj8vgSg10RwdNlS/8zMWkF950MA3H9FJ4ip6LoQR5Grj7YFX8Gg FPlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pG62keyl; 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-61207-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61207-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCX81bD5LhdLRSjPj9bf5yXikky66sCAuRBYrg/hk4oQI0mqdk8CNOT+ctqc4Ui6zh6MAbbdAIaBWGhAQ+UZfpgvtuRjLg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x19-20020a63b213000000b005d8b313de26si5944713pge.594.2024.02.12.00.35.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:35:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61207-ouuuleilei=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=pG62keyl; 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-61207-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61207-ouuuleilei=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 BF8102810A7 for ; Mon, 12 Feb 2024 08:35:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B96E612E4A; Mon, 12 Feb 2024 08:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pG62keyl" Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (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 251D310A1C for ; Mon, 12 Feb 2024 08:34:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726875; cv=none; b=LyQnSL8RCjC9JFoIHdEZnE2ss3KjAMyDgcuovjIKtr/jWEMJL7AV0U7+g37lDLgRjWV0+KXJO6bvVWqcpXB5XjWQbZOrvAeAq+uf0qtUSMxgVGYh8Ycap4j+ALKVUa0aZZQ2XgyIZv3+87nhd9h9PA/YM9RJwTAw6/CSfZYhb40= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726875; c=relaxed/simple; bh=ezeCOINnmkavLUEDTtpk9CBlRiLMmuI1yO5MV1yO3OU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PbwiDpKlTaQzpraeZAo9P/xKeh4vTrTukTXCBt18baYq6yas7BTCI57JUN5SZEZLZpkNmOxIxM4SNfwN9w0eoAGWVNB13a08vEkNXHZCOvMSSIZOB7PIuudkDdvCdj7SAWAvlfZX1bEAOkS0C4y5KBczpsb9QtC82vUHdZ7WZUA= 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=pG62keyl; arc=none smtp.client-ip=209.85.221.48 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-wr1-f48.google.com with SMTP id ffacd0b85a97d-33b815b182fso431858f8f.3 for ; Mon, 12 Feb 2024 00:34:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707726871; x=1708331671; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n00h9GUfOjmdouhiAceBbh8Ez7j7mnB3Royxt1AWIfw=; b=pG62keylkMGpnyfmYEtO4cNDmFTbXZDp4dorYvymQ/dEOkX8f1zZTv9/j9O2JBvE6x YzC0mUqeHz7jgfgPvofNB74SYtl2eAeJCcEFxPg13X3B7qh9PpxsqCjgjwWqERrbzByB /EnoUe9uyOD2PlBZjdMFliXOkWsgqD4/BsJgjUv3qHOBtpzoPHkdOqLN4x+YVe8zbSYP VRL6lWFVDe6Vi7Qb2XUzsBXXsyj81zj2RMCIKN8OTQK2KiKX1sx1p6M6Y7BIGY2G7vuv WNxuzlKaOM2mCoCSnRIKVS8ERE3l0ybw1cjqudlfXmezSkPs1Tg2DMqzHmFeStEyDMkp gIkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707726871; x=1708331671; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n00h9GUfOjmdouhiAceBbh8Ez7j7mnB3Royxt1AWIfw=; b=IeqyQSoUix7ws8ZgsAHZq2HH3/fEdypwoE0K0byL04FDLM6U028AEv60vP01UWk8FL RlfS5ASq+kfcgoLlm64VSqzbTqhr5hiD7j0pHrmxr1QfkokWH8DSRQzpvvbfiK4Y8ddK Mmm8D2WmoFeuM4/tKaYojmImPxXWnbUQ633z7X9hcc8UkyfFlaJNYkb1gkFLUG/MvzfU 6bpUlqdGcRgwnIGh1fAQLVisxAW1nKoEoWdj6XAIWFCFYvWO8rOZml0FQcSlRMExzS79 YklDspX+mnS58Grp4SGWN8aDJBWBkb5NOyZKRFLOHM54A/eqfMt1XYAZJZYK9OKJJGtR RVNw== X-Gm-Message-State: AOJu0YwSpXJ9Bx2W5OBa/aa/AMadEPikP/sE6KOA9Or7MmzrNEqN1JEe qFLvJ0j43x0mEuowDjrbz+J9UvTr4UrzLjduxdX2Yc43PYjkb6CXdjbbmxQ7Q2flhi+QUbTz0/z Z X-Received: by 2002:adf:ffcc:0:b0:33b:72f2:2283 with SMTP id x12-20020adfffcc000000b0033b72f22283mr3898515wrs.17.1707726871337; Mon, 12 Feb 2024 00:34:31 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWIMPGbPGKj/ISTNTpZQ5sl+ZSeRI5+lO+VSwkznpnFqPHBMRhMJOWz/d+js7L9/KYpGTXAG7BTK/aCsHZfd4LlTrCbcifFKOL4weDCk2KgCjrTMssGtDgsi4ViMi4QnA8zkJ46f+XrHkMNVVR2XozK+PS/NTBD0DGWjdMz8uUcI+MMYe8naqzALQRlgn1gmgs6B/s8IikEtiSroDkNDBjh/XFWj4iM2dPGoxC8L8CYpi+63Hb2YSX7ap+F7ro+O4q4KtcfZxdjzYPl2CmEvFvLKsTrOzv4vGE1b/pcdKEqVrDozwwhJFTDFi9cF+L4TSIM7tN8GSqa4jRCNJcRW+H9AH+sBCjYjY80iYz2e3Tw8tNmaUifylSR1g4coXGoFG61bogPUEA9J7XmJDo= Received: from krzk-bin.. ([178.197.223.6]) by smtp.gmail.com with ESMTPSA id y12-20020a056000108c00b0033b40a3f92asm6111024wrw.25.2024.02.12.00.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:34:30 -0800 (PST) From: Krzysztof Kozlowski To: Linus Walleij , Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin van der Gracht , Paul Burton , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Andy Shevchenko Subject: [PATCH 2/3] dt-bindings: auxdisplay: adjust example indentation and use generic node names Date: Mon, 12 Feb 2024 09:34:25 +0100 Message-Id: <20240212083426.26757-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240212083426.26757-1-krzysztof.kozlowski@linaro.org> References: <20240212083426.26757-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790681482625687247 X-GMAIL-MSGID: 1790681482625687247 The example DTS should be indented with two or four (preferred) spaces, as mentioned in Writing Schema document. While re-indenting, change the node names to somehow generic names, as expected by Devicetree specification. Cc: Andy Shevchenko Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- .../auxdisplay/arm,versatile-lcd.yaml | 4 +- .../bindings/auxdisplay/hit,hd44780.yaml | 44 ++++++++-------- .../bindings/auxdisplay/holtek,ht16k33.yaml | 50 +++++++++---------- .../bindings/auxdisplay/img,ascii-lcd.yaml | 4 +- 4 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml b/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml index 5d02bd032a85..439f7b811a94 100644 --- a/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/arm,versatile-lcd.yaml @@ -39,6 +39,6 @@ additionalProperties: false examples: - | lcd@10008000 { - compatible = "arm,versatile-lcd"; - reg = <0x10008000 0x1000>; + compatible = "arm,versatile-lcd"; + reg = <0x10008000 0x1000>; }; diff --git a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml index 73d07f2cb303..1c7fd29bbcc7 100644 --- a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml @@ -84,32 +84,32 @@ additionalProperties: false examples: - | #include - auxdisplay { - compatible = "hit,hd44780"; + display-controller { + compatible = "hit,hd44780"; - data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>, - <&hc595 1 GPIO_ACTIVE_HIGH>, - <&hc595 2 GPIO_ACTIVE_HIGH>, - <&hc595 3 GPIO_ACTIVE_HIGH>; - enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>; - rs-gpios = <&hc595 5 GPIO_ACTIVE_HIGH>; + data-gpios = <&hc595 0 GPIO_ACTIVE_HIGH>, + <&hc595 1 GPIO_ACTIVE_HIGH>, + <&hc595 2 GPIO_ACTIVE_HIGH>, + <&hc595 3 GPIO_ACTIVE_HIGH>; + enable-gpios = <&hc595 4 GPIO_ACTIVE_HIGH>; + rs-gpios = <&hc595 5 GPIO_ACTIVE_HIGH>; - display-height-chars = <2>; - display-width-chars = <16>; + display-height-chars = <2>; + display-width-chars = <16>; }; - | #include - hd44780 { - compatible = "hit,hd44780"; - display-height-chars = <2>; - display-width-chars = <16>; - data-gpios = <&pcf8574 4 0>, - <&pcf8574 5 0>, - <&pcf8574 6 0>, - <&pcf8574 7 0>; - enable-gpios = <&pcf8574 2 0>; - rs-gpios = <&pcf8574 0 0>; - rw-gpios = <&pcf8574 1 0>; - backlight-gpios = <&pcf8574 3 0>; + display-controller { + compatible = "hit,hd44780"; + display-height-chars = <2>; + display-width-chars = <16>; + data-gpios = <&pcf8574 4 0>, + <&pcf8574 5 0>, + <&pcf8574 6 0>, + <&pcf8574 7 0>; + enable-gpios = <&pcf8574 2 0>; + rs-gpios = <&pcf8574 0 0>; + rw-gpios = <&pcf8574 1 0>; + backlight-gpios = <&pcf8574 3 0>; }; diff --git a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml index be95f6b97b41..b90eec2077b4 100644 --- a/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/holtek,ht16k33.yaml @@ -74,31 +74,31 @@ examples: #include #include i2c { - #address-cells = <1>; - #size-cells = <0>; + #address-cells = <1>; + #size-cells = <0>; - ht16k33: ht16k33@70 { - compatible = "holtek,ht16k33"; - reg = <0x70>; - refresh-rate-hz = <20>; - interrupt-parent = <&gpio4>; - interrupts = <5 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; - debounce-delay-ms = <50>; - linux,keymap = , - , - , - , - , - , - , - , - , - ; + display-controller@70 { + compatible = "holtek,ht16k33"; + reg = <0x70>; + refresh-rate-hz = <20>; + interrupt-parent = <&gpio4>; + interrupts = <5 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)>; + debounce-delay-ms = <50>; + linux,keymap = , + , + , + , + , + , + , + , + , + ; - led { - color = ; - function = LED_FUNCTION_BACKLIGHT; - linux,default-trigger = "backlight"; - }; + led { + color = ; + function = LED_FUNCTION_BACKLIGHT; + linux,default-trigger = "backlight"; }; - }; + }; + }; diff --git a/Documentation/devicetree/bindings/auxdisplay/img,ascii-lcd.yaml b/Documentation/devicetree/bindings/auxdisplay/img,ascii-lcd.yaml index 1899b23de7d1..55e9831b3f67 100644 --- a/Documentation/devicetree/bindings/auxdisplay/img,ascii-lcd.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/img,ascii-lcd.yaml @@ -50,6 +50,6 @@ additionalProperties: false examples: - | lcd: lcd@17fff000 { - compatible = "img,boston-lcd"; - reg = <0x17fff000 0x8>; + compatible = "img,boston-lcd"; + reg = <0x17fff000 0x8>; }; From patchwork Mon Feb 12 08:34:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 199624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp2302904dyd; Mon, 12 Feb 2024 00:38:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXJsnq8IdsHixpu5TKSMM/6+Im0f6/Jclt6L6JShwOxondfBPWNqKfw1QUhuowWoDEpC3V2ObPMxNzABYdWlOQ2cspdTQ== X-Google-Smtp-Source: AGHT+IEvkQcRjJ4FI8btncbXkpUJ+yTcCy3leJ8JklIzGC8X/CsLBZjPAS+rmyUwT644aZL7ZNER X-Received: by 2002:a05:6a21:3489:b0:19e:5fd5:5244 with SMTP id yo9-20020a056a21348900b0019e5fd55244mr10730767pzb.1.1707727090203; Mon, 12 Feb 2024 00:38:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707727090; cv=pass; d=google.com; s=arc-20160816; b=TnMaLHXKlQaBIFtRGbgfuTJbpQhz9Zrc/yoqiUbfswwiib3XpCAqAvW/wnhBmV+Utp 9GndwcGPbq1tIRFuM3VFgPQArRT9SUSHqWFgDbtF2+n5FdrzODwJyJVZ/2qy7VUelFMe UV0uAklJWhjFHd23is4P/eCS9OFqPl3qYXbPwOAI6rMtQbRw/R+keTeweeC3mvTtK2E6 Yxy7N8ZXdrFEShpi13pR3APJOjQ8QRC3Ga/DfWNhlvRmwHKFsvCOHOl0ux5n5Co+E+T9 ySk1MMnUm3wOpAU4ffytIu4eEk9fRS5HGxRozkdeQ+z9u9qIRpeThCip9MmkbR7yFUjw X5JA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=KaRSiyy5TB2m6BLeq2URaoRViTwBMQVl47ntDRafb5E=; fh=cxUQVAhVpELHRpTezB/26+m8Q/OEkn2QM3BFlFw7EaI=; b=mnGKTyXA+C4FmeNuoVQstM2jhoYakdWRMp4WJRoh66mL6PhQ60SiepMzKJc51z8Zgd sMaXHyWnEye4V1a/yqmjoNWsWq937pWblDnLimBjCNmBmWG1SHG6WiPd8xcTItgivoU+ rBsgrLqjyq+1+TVaGuJuPaPQ2wLJasx30dP8428XSnWenT4DywaPIFNxMt26W6J/79NP iHKrpO727/uYfQ8X7tNK1ZylP5tMOx4DZTIZ2Jqb8TL2DdOXOMkOfW+NbCo7by72/5nt UFL1LvJYlDcLjZPSiThDiry1R0steADIxUhbHYv5JOeHj/EbW/NNGLc6c8RYGL4XYd81 bBKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jgIQN8jt; 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-61209-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61209-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCX+lyZ7hJNB4cf0NcfT58HFPW+jtb1gSFt+utOLXU7AuUidkJWDVigLFY2RelGyzfdQDgYZE5wNQVokG3PWX7jOAoJNvQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u12-20020a65670c000000b005dc423d758dsi5987629pgf.116.2024.02.12.00.38.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:38:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-61209-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jgIQN8jt; 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-61209-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-61209-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8FCA6B2165C for ; Mon, 12 Feb 2024 08:35:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9194112E42; Mon, 12 Feb 2024 08:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jgIQN8jt" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 CEB77EED1 for ; Mon, 12 Feb 2024 08:34:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726876; cv=none; b=mD6CIxD/QKhlqJZCS+muxR12iiihxPHE9APNN8Zsigo1hv2/RzKtlmPnR3PFJ7uX3O5DiVnNDFaIVyhSa7VnUeKAYgzJEkjFe/UujzEI+/QNbBE+rxvjXJc6JfLAWVqSbVrNqDQwNX7NrtjmB+1TiGALvkexYICim6ywdbww1RI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707726876; c=relaxed/simple; bh=5he2EcrlAp+EDXI2Yx8Z0z61Pwfbf0mAZp7xr++6WIc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=P7kPrEadJq04UBl/3Q1Gd34fubCDsPxU1JvLghl8PGqypzls7KUR841NvA3H2EdyiNA9+CWCehES86a8mFDpalpxHExzgUc1qT6Yvc9fmF8EDkyvecCx2aNGGHhUy8T/IqE78jjFFPhev5BkV3LYkWXH5iUmERzUwaiKN/cRdvs= 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=jgIQN8jt; arc=none smtp.client-ip=209.85.128.54 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-wm1-f54.google.com with SMTP id 5b1f17b1804b1-410fbf07602so833665e9.0 for ; Mon, 12 Feb 2024 00:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707726873; x=1708331673; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KaRSiyy5TB2m6BLeq2URaoRViTwBMQVl47ntDRafb5E=; b=jgIQN8jt/IfRLOvtil1c0omjk8dh90l620lKPJ25lrnrWEHhEVVnLelAECn78m9l2+ asY5kurEqfbbhKFNUMr5wPgkWtUL1/zeOyH7VvtyODtzna7W/pdSJSCLEciijND6izvq PJfEuhLIJJiYKWpCTiCI5/UIv6mhAbM19aSctCIgIQ8QH3SsYbpbDKG0uZ4Swb3ZFu+/ TNSqunF6MzY5IEgF3Y9mavFEGrKgTnEvT5WsxJaIUKDPJIsJijzxkvFkEa/zJ8X1Abc5 gLRSCv7gxwxKsc1aLNgcV2mQLHEowI8d3m5+aotnuJS1a/XNW+stNV2tZG0BkMy5P6XZ mNsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707726873; x=1708331673; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KaRSiyy5TB2m6BLeq2URaoRViTwBMQVl47ntDRafb5E=; b=K29A6EdpsQ3h5k2isWrU3Axl5aMPTPKcipgKWK/7sz/9NqHxD41NpZ/Ri9zKIvgX6Y 5QxAfnMuIKZalJ4VO535wtBhIoM3y4HTJkWrMCN+D0p8hTJN2FuDfn7CYoQGGLTWNhui C9S0dM/Elt6ulI1soeo3gWa5lXPgtBi8YxTzbgrCCn9xUZLhnne9ubyFG9K33+GxGWlA nVvrKnndZl0XPyA8wzhmWGFr90y8c4u3A5yEmPK89og/gSmPF5GqPgdnadgIIhNTBdrQ bsCC48zc4sg/5VWeofeodoF/5oQ+VsdD3w+yRoEPJarpY4KS6aZAE1zNNqDCYQCs3Enn nE7w== X-Forwarded-Encrypted: i=1; AJvYcCVrN4mL8R/jrIblBQUAYmUJt7vX1BApmnXdBfCIJMeqsSsjmcf6NRUCpRuMSGbMrpWiKw0ulRh0afU7anU9svQu8sqhT0yuv2WaQJOC X-Gm-Message-State: AOJu0YwJygqmKjCZlL8OUM9qjVQpVT3LL5KkjSFCAs/NEhCms1ip94u3 sAPBFWArGnerJxSAqmDlpgGWsvOH7ck2hNRBYshIDOh3zknfToIQpBPj9bMzHR0= X-Received: by 2002:a05:600c:3b8d:b0:410:e90e:8310 with SMTP id n13-20020a05600c3b8d00b00410e90e8310mr665729wms.3.1707726873047; Mon, 12 Feb 2024 00:34:33 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWpQRp156K05li7b4B0pZ2zvIyH2pqJuL4+ekTllcxbiNdlWQFv5dBxJS76V1DQsYjUq+7O9jYWbpaZ4WdtMNfpq71JyHpVm1w8oYjZxouI//JOcPy7h5x3BGLnMcvatzrnTnaTNURw0G4SQX5k5oS35GGH+2+LKjRHaxhaLMSWVrEzEOowllOa3ottfJclvEU1mrC7Wvc44TVl0B8aOjG5cgo9viJNVu52S/eoYVKPujjI2NDsouyn86pN4rdD85xzsSHLwz6k1RUuiONg4t18nlmmbq2K2l1Hom6Fm/hyYxJUMmJNfIjwzIfa1DaGLWZJ711Lfa77lkWAR6u43rfreHQjgoOmfVE8LHHuJFlfQ/Jap+UhdGkanAfLhJlt7n41UnmtjrUPX14XMZQ= Received: from krzk-bin.. ([178.197.223.6]) by smtp.gmail.com with ESMTPSA id y12-20020a056000108c00b0033b40a3f92asm6111024wrw.25.2024.02.12.00.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 00:34:32 -0800 (PST) From: Krzysztof Kozlowski To: Linus Walleij , Miguel Ojeda , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robin van der Gracht , Paul Burton , Geert Uytterhoeven , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Andy Shevchenko Subject: [PATCH 3/3] dt-bindings: auxdisplay: hit,hd44780: use defines for GPIO flags Date: Mon, 12 Feb 2024 09:34:26 +0100 Message-Id: <20240212083426.26757-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240212083426.26757-1-krzysztof.kozlowski@linaro.org> References: <20240212083426.26757-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790681641411107626 X-GMAIL-MSGID: 1790681641411107626 Improve example DTS readability by using known defines for GPIO flags. Cc: Andy Shevchenko Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- .../bindings/auxdisplay/hit,hd44780.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml index 1c7fd29bbcc7..869ae0f6cf5d 100644 --- a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml @@ -104,12 +104,12 @@ examples: compatible = "hit,hd44780"; display-height-chars = <2>; display-width-chars = <16>; - data-gpios = <&pcf8574 4 0>, - <&pcf8574 5 0>, - <&pcf8574 6 0>, - <&pcf8574 7 0>; - enable-gpios = <&pcf8574 2 0>; - rs-gpios = <&pcf8574 0 0>; - rw-gpios = <&pcf8574 1 0>; - backlight-gpios = <&pcf8574 3 0>; + data-gpios = <&pcf8574 4 GPIO_ACTIVE_HIGH>, + <&pcf8574 5 GPIO_ACTIVE_HIGH>, + <&pcf8574 6 GPIO_ACTIVE_HIGH>, + <&pcf8574 7 GPIO_ACTIVE_HIGH>; + enable-gpios = <&pcf8574 2 GPIO_ACTIVE_HIGH>; + rs-gpios = <&pcf8574 0 GPIO_ACTIVE_HIGH>; + rw-gpios = <&pcf8574 1 GPIO_ACTIVE_HIGH>; + backlight-gpios = <&pcf8574 3 GPIO_ACTIVE_HIGH>; };