From nobody Sun Nov 24 08:34:13 2024 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 993821DE2DC for ; Wed, 6 Nov 2024 10:38:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730889513; cv=none; b=KRmhhrmYaUrZ243/B30vpQYGcdj6OPeYqY29unaCm8embJk40CIsafw4+QSowiLh+CTk9pSqMEZDXFBeSbV3mfFqrfW3SPuKhQcDWdNRo/OaubuqGgybN5oq85oKJ9jVZBCEVNyHyOb12jtmEMhkhWzsT+DOCBE30aDZFHvkm3c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730889513; c=relaxed/simple; bh=xfVECVyPhstuVzixwnpeD2YetzBptltzs/LNlYU8a0I=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GdJ+f6DuyhMDi2YA1vIXCQ5/gdBStukIf6c6/TO6NH6jVl2rc8IHPI6zdL6MIrAMVI6rDRXQbNe71E0+TZjXVZtZWOiSLq/dC+V+bSZok8KV7hMwB2WNxqYMjpzA6HLLR2Cn1g1YgJ/J3rL4siMVqZqXf66OQdvjFxpuJOeXXfQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=Edm/wyRZ; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="Edm/wyRZ" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43159c9f617so51166265e9.2 for ; Wed, 06 Nov 2024 02:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1730889510; x=1731494310; 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=VY6uZFvxEU5LyK6YK1tW8F5ABPl0h8dIQVI4hDIvL6U=; b=Edm/wyRZ3h2Z0upEfBE5EFTB2uqTUKD+iMYH1BJt8Bms242NbnzlEJt6ITQZmhnbzD bOGdG6IBt3OD0fdBHKKJnM7B8zXzAYknpX7KYm2kCsW+dgNp0qc2HpOeG9zfKtGyDg6W 3VXMoUJz8wMPg0gMYZGJ3dr4xA5OZPCFjzJoF6fcpnQ62abHi2VWWbYUkM3HYAbLH7ih KbqHfWqLVbLbGn3R82EMTT1XAQHesiG15W1lv92Xl0Xz75mXzxseLDTUwzCD+KGq8Qao VNm5mQSBigR0heCmnbEaUlVHnkmjNozai+eRQrADHzTpImxTSf0E2N0MA8PnurJPo+EO 6W/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730889510; x=1731494310; 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=VY6uZFvxEU5LyK6YK1tW8F5ABPl0h8dIQVI4hDIvL6U=; b=FYeCZV34EU8Dt6/k/YW4SbGZUmnxWJjvjBDo81xK4+wztDDOCA/GssAf8afBcY3wOq DEFkmATYKfWfFahsn95KlgPvyySM7+vNj6X+6RygeXT2b4sxphgbgzNRYnnE0Lkau9pV b0wnS+mipMXfljQzjGQ/AgAq6rb9meN6wDmRswb1VEuqg3fvyruWUeEQdxd2xiP4OR3y iXC/iwiNWEpvSH3vwL7b2sT1E/pyOZ3cmekVnL2cUqLqaq+b5vGTfu1PBMOxjY7ZDYCZ MkxH1sK4jtAZFnkHmK5LG7Dshxe/O8bIjvkboNCMegWXClFVRPm6KwWdxb4Rh7TpgAi0 3+kA== X-Forwarded-Encrypted: i=1; AJvYcCU02QmBJ5ZherIN1xMeHVUL9g3DcFSKCSNJm7GGEuQMPROMNjBpRGstmEgOUvWhy85ke1Mb2zZQ6cBAcFg=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1eNus3jjWoOXcTYbzHsAMI1iB2w+C8Am/0cpxSVXndtlJaxPB lBPyKXpl7zPIrG6NY+QXRSn7RXJVwTnoCocXGbYNIVDBeRY8Jf8NPVTaDgWGkmg= X-Google-Smtp-Source: AGHT+IG0moN4/ZDGzWYlA0aTjJYKTQ0jeyFFEkAKoyArrCWMEt0WHKRL7KNUzqDgf3nMKBqq7+I6Ng== X-Received: by 2002:a05:600c:2d81:b0:431:93dd:8e77 with SMTP id 5b1f17b1804b1-431b172b3bemr312880835e9.31.1730889509969; Wed, 06 Nov 2024 02:38:29 -0800 (PST) Received: from axel-x1.baylibre (amontpellier-556-1-151-252.w109-210.abo.wanadoo.fr. [109.210.7.252]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432aa6da89bsm17667715e9.30.2024.11.06.02.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 02:38:29 -0800 (PST) From: ahaslam@baylibre.com To: jic23@kernel.org, krzk+dt@kernel.org, dlechner@baylibre.com Cc: Michael.Hennerich@analog.com, robh@kernel.org, conor+dt@kernel.org, ahaslam@baylibre.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: iio: dac: ad5791: ldac gpio is active low Date: Wed, 6 Nov 2024 11:38:24 +0100 Message-Id: <20241106103824.579292-1-ahaslam@baylibre.com> 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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Axel Haslam On the example, the ldac gpio is flagged as active high, when in reality its an active low gpio. Fix the example by using the active low flag for the ldac gpio. Fixes: baaa92d284d5 ("dt-bindings: iio: dac: ad5791: Add optional reset, cl= r and ldac gpios") Signed-off-by: Axel Haslam Acked-by: Conor Dooley --- Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml b/Do= cumentation/devicetree/bindings/iio/dac/adi,ad5791.yaml index 79cb4b78a88a..2bd89e0aa46b 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5791.yaml @@ -91,7 +91,7 @@ examples: vrefn-supply =3D <&dac_vrefn>; reset-gpios =3D <&gpio_bd 16 GPIO_ACTIVE_LOW>; clear-gpios =3D <&gpio_bd 17 GPIO_ACTIVE_LOW>; - ldac-gpios =3D <&gpio_bd 18 GPIO_ACTIVE_HIGH>; + ldac-gpios =3D <&gpio_bd 18 GPIO_ACTIVE_LOW>; }; }; ... --=20 2.34.1