Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp662285rdh; Wed, 14 Feb 2024 07:57:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWdoCZqLzuRSXMaPn+LQcUlb7n3GyW1CbK8UslEhAXtuMIYteASSSUwONFQyKpWxmYaf3qhxx2qbRzM59gDusD1Ebot8QqhFzI22KR5Aw== X-Google-Smtp-Source: AGHT+IGj2MAe+nePPwKNlo3NY2SyiizibuPH11/MK6oct38yaAO+4sBMc2QcuwlEXcMjonenfi0O X-Received: by 2002:a0c:ab4f:0:b0:68e:ecdc:1112 with SMTP id i15-20020a0cab4f000000b0068eecdc1112mr2857315qvb.25.1707926222142; Wed, 14 Feb 2024 07:57:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707926222; cv=pass; d=google.com; s=arc-20160816; b=LKvhLYQh7QzEQNCCglBe14UpWdzWHu1+5iu5qbcs491/4i09e1EnT53APqy1Y/DW9D 79Fzb8QbryP/o6zFCk1edal1iIjJbst3WqG+c801k3kucN/3Lyd+D81c3fCcnw3DgTRk q06Hf05fU9SAfZW3G0H5ChooGF5qwFOnxsilCApYNxHWcdL1hEKE6ZPleFq1rjmS8F9p GsoOsPNLbgzmTfe/7AfhXf5bUuKzEphVi7jVAJbBTYDzaVOfgjrTP1i1lI2LGi/ZqP8Y +55/dGyAxSr1qHRe+llTtuPEH2YaErGFLI0iOIwGqb7rMu6+vfsZySn+PZp6mDlSxogN x9Dw== 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=5CNcwNle4UYKgFa0WYPpjXQkq/UHsVG8FTTKT9Pm9pw=; fh=c249PzMZhtD1MuMK5/dPg78J5PY926jWIH9IV3+aaeY=; b=gJktu4fmEACGcc/BDwNwAavV2L+Zd+Qly3tu/zodYlTb4E0XR0NyZTdDC7G1L2QVl2 CrJuvtiDlsCs+9lzRwDxzaEVW1peZX594JqPJ/Tlu/sFLyiiBm9BmVWty87gKj+0c9YD mle6xbw5K2YppIeB4zI8ARPU3e9YJgcY/v6duxvF8NeU+3LullVKOFLL3zknvHutDUrd umqLpL/CFj22DWBNIT/OrUhvCguLjvtJt5rQLPSe5opoTkJjXSnMMA6nZFURsYqo7alb iduGjm+umzlYYPYnSWRwl0OIdu+jsCVySdCg5EWss4mCjYwzOnPu1olY4Qn1M0LHm4sr HqKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VoaW9A8K; 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-65465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUOGw8eZJ4zLj4b7y3j1/ElgEtB3Sc/XuXsmWTtiaZRSUSqsVW2YeaCdDybGXCpCBKYn/GPfESNonWU8yOYFt6xGofe1W9CMYfPaVH82Q== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kc4-20020a056214410400b006852904842csi5592813qvb.276.2024.02.14.07.57.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 07:57:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VoaW9A8K; 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-65465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65465-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3EB8C1C250FE for ; Wed, 14 Feb 2024 15:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BD9C5F869; Wed, 14 Feb 2024 15:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VoaW9A8K" Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.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 A69DD5D910 for ; Wed, 14 Feb 2024 15:54:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707926096; cv=none; b=pv7DToOTtLHh2+/EifG3OK+q2wPkK/yv+gdT0HYN5UCYnpwwg9sk8W1nDag0aFp0hcHa29hrnSr6vG9HzDnLo3iojn0nX+6gukz2TCZ7DBZB8jeEfRmGh/AmkfGegVZIIqDJkDoXUvnk+RirxahrhxH/30dY/VjDPIhDNmpCZsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707926096; c=relaxed/simple; bh=RjcmJ1gtFBwueafmepL5eB2KnvoD8u/S+qST208fcb4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PG/MP03ljuLuGKS8M4q2tw1pR6GFF6RhQLNT8K2koFjsclVBpNn1y2u/E6PXYNjVBl7wdxOHzfMRxfuMzBju+BNKGLsB6XLnI/kVG8s+Wvlrwy3m6I6d9IE/UaDUU4mZ20F59lZkxnPDQVAF58Ssub2F3wY1+4czsGnHlxAzPh0= 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=VoaW9A8K; arc=none smtp.client-ip=209.85.208.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-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5620f15c3e5so1952969a12.2 for ; Wed, 14 Feb 2024 07:54:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707926093; x=1708530893; 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=5CNcwNle4UYKgFa0WYPpjXQkq/UHsVG8FTTKT9Pm9pw=; b=VoaW9A8KRuOUCwuqTJ3hpVm8yUf0Y7wr1mTmpyqMbMzRcnY5g4HKN0a7dvpT7n9hhM oAnHoSP3MHh5z8rtujc53IHppzzR86qpyv52tvEoigC6CEIbWNIZzArJC4HVHweYf/2Z 9oGC5qaXaI3PD4J91vRxS3Mc+hUMLpT9vBng5u9bvLUEW9xqRGmSQtVdGOQWFiuUjOLH leSrV9s9ngLPXl4zkp7lczAKs6fcvAf79QxHU4YQKaO7c9FIntSMJqRWkOFXyJ08lFVl 0lgl77wldIVbwx4tiFSVIY5Y0yhn91/yWVHIYhhi+6Xh/EVJPO9c8agWpE1M0Gzkk2// iR8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707926093; x=1708530893; 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=5CNcwNle4UYKgFa0WYPpjXQkq/UHsVG8FTTKT9Pm9pw=; b=FAKlxs2bYKR5woEXzUvTWj+2/9vozvFPrLWjuRGjJQ6+DkMs2nVZZDeC0H7Tcdj8q2 IXqgs3ihiN9cJ9kSxaoldZjtu7YPFbnlnC5sajTfDxSnFKBq/ErFI26DQtomIxA5Hnpp ecTzpvsoZWJlNMCo2PvvzyIGlgiyfB42O/CWIW6nTKPRCqYk/D/FzUk9Glh6lDIxYRYE 2KrzJxZQlQ49LG1RDdQDbdZXNoTVRFacOdlaow2/V05BrZtyH8iM2tVgO2QiVEzT7rna AXysFVzT/hqegC13flkW8exjg89i6LzW0wmisR7Eqe4nLF7hYbVFTMN5IrmBEQeh48yK bPug== X-Forwarded-Encrypted: i=1; AJvYcCXNgpnEmsY0m+/iEt8eslQ+YB3XDqO2I7nWLWLmdS2bWb13u+7n+mOwTJBR++DXoh0DjwJ8tqxc7Bimxp44GZpYaBXZm9VMp6MR0hHG X-Gm-Message-State: AOJu0Yw6vuIKzNaER9XeBiG/Kvib/vzEgbyYV087LAVm0HG005zOeVEl s04RehON8E6mifqZya+kyVlrEiTauEWJw43/O1d7Lj5FSkKhdNvpDT9EN4m4pEA= X-Received: by 2002:a17:906:f851:b0:a3d:303d:c6c1 with SMTP id ks17-20020a170906f85100b00a3d303dc6c1mr2110897ejb.62.1707926092979; Wed, 14 Feb 2024 07:54:52 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXTLMPJkqU+hvLTZTGoGdsmX+MhjOWm/jj8EcBDIUF8FHE6mDlweGOARuz/QvAFxn4tv6Cln/5v2wI1CkdcPn1/2qrGGLI6MXknF4K6NTGyghLc6DFiUl8VwRG7tSLqN+vIIcGQA++j+U0aM7XxsGBEBgCoRjXKUYrCJOIqYI+o0JFhA/1F8NhxAPo/lxwml2rmIb0Qcbb0rS4nw0mbyzqKhB4DsogUZyS3KO6SACrKijel2CKM3zSrFRVKHqIUJ0CeVbGUdnn8mOAZLRJVubcAHUo9HKcb5Bnvcg6qyhSOBwah5TljpC+khzCYrQWYDxUeEcXGSqOLra8C/8yXA45F73NGzX9OuMBD0AoXXl/2QRI4gU7uJsJKDBOphLsWbBJTwVvvskGRvX4= Received: from krzk-bin.. ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id tk6-20020a170907c28600b00a38936aa08dsm2431332ejc.32.2024.02.14.07.54.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 07:54:52 -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 v2 2/2] dt-bindings: auxdisplay: hit,hd44780: use defines for GPIO flags Date: Wed, 14 Feb 2024 16:54:38 +0100 Message-Id: <20240214155438.155139-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240214155438.155139-1-krzysztof.kozlowski@linaro.org> References: <20240214155438.155139-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 Content-Transfer-Encoding: 8bit Improve example DTS readability by using known defines for GPIO flags. Cc: Andy Shevchenko Reviewed-by: Andy Shevchenko Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. None --- .../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 e26d61af9011..3ca0e9863d83 100644 --- a/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml +++ b/Documentation/devicetree/bindings/auxdisplay/hit,hd44780.yaml @@ -116,12 +116,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>; }; -- 2.34.1