From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 574A839DBCD for ; Mon, 18 May 2026 22:02:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779141762; cv=none; b=akeF3furclF2rLkcI5MriR6u7ME/AOmyznDwt2OfwCMY8Q8FaH54Aw+85bXN17mRbplt8L1LpApJDXlGTlbxzkuR/I11/QBaPWXHwoKxqgH+ezG7/EMLF583a3TOuaD45NNcKb3koioM7Ax1IxbrjN41pRs6Gm2Vxk0fR20tojs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779141762; c=relaxed/simple; bh=+3gyUX7aaxHg4IEnt/cUPAS4EOyirl10zVxCVaQOWKI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NhD7qHIxqtklpOzwr4vhH4kaYgJndtUHwiqlMX0WTW9yIJhVBsWgRzHx5dkh7pSubWT1wmWQx4kjResRIllEcYK7TzVhT0uTScZmyKGNgrD/wwrYUUPYykURbXdKIrHza9CSgVcUcWKRIEscOdFOJS7LzJz64mHZewSWGQ8+MNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DfUKKFCN; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DfUKKFCN" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-838d0b7c950so1964092b3a.3 for ; Mon, 18 May 2026 15:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779141761; x=1779746561; 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=HRHhm0urB9xrof3Z10YFKkp6gED8PHSdFFw3oxkxeVY=; b=DfUKKFCNbsn63+wnTq/ZUkqu13WQUxWJIDG+mp5BN54sIwY8pK0qyqMt+F4VEFMdDU NducPBw8PzknezmbMgxRIcNYptrXhD50J92f60AAYZRBwwHLxwDJKKOoytULaC9g097j KTxeWuIIy3ZwEhdz78TLW5Fcd8zeoUj04u986AUPH60nY8Oy+ygLgUCP+OujkRAYCzGH 6B0br76JdeHD1x4Qsig+cBD5r0hDGL60VB/XacJJPNWbnerz6Buxcdh8IQQrSkOE+Yai EkkiuFziGYJ+g84Ho7SG5gsmNxaUJvhU9ckXcNsdDe7cpZZaFpGJFRMruTh+BAC3Xknb qnsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779141761; x=1779746561; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=HRHhm0urB9xrof3Z10YFKkp6gED8PHSdFFw3oxkxeVY=; b=mWAy2N40ciFyRqL8eIyyPqmcmyG4e8E0fnRCMTU45+h1BFllNizfeQxvPKJganpvUq L9HDizEb8kEGT6JEf+P9EGxYmd0D6nSz9TIg67/N1eyg5B46XAUWsXDTkQNs984gbdSU O1d3wriI2hYQ4Y3UmST5R45rCBKof8sKqGVFRMsi5Pwynqan5XCblTiBo4372ZjPZ8Aj OCdt4LISdAXnsGDoWj0p4fagMbAH2WeKEiVPfgQliyhTzzecKjWhQZykQG2budsGyedx BiltxaSLr89qCVl/kyD2I/KVazYnzYgLOnQY/1mfGWD72p40RuyMC71mmEZIobm04GKx wUrQ== X-Forwarded-Encrypted: i=1; AFNElJ/d8jhmiNlWM1ny0THUyFyoDU8yuQcs2n98/Cl5Wn3k0l5ceQz92LDvwb5wqGpm5Q2d7FhfFkpN4Sa5S+o=@vger.kernel.org X-Gm-Message-State: AOJu0YxP4Wk4qe9rGmv24H/khgc4XqWE7MD2pBJpyPYju4KTXIAOM11L XXl8ryXyD15Crpal7rZqNG6EhalI6N61a747UIBNbkYc2oFSDp5F4GwN X-Gm-Gg: Acq92OEHnAsz+O2UmXJaIHJET5PnUjmaH8BGZFJRQNK+uML8KSNuV6hWGZpNVKvzW48 aZSaUOEjJ8WW3DMUaXWv4MLpiKFKcl7G9cI4yG7PC2VzkS1KS1CSg6GFI6pBEK4a45RBNru+g56 DYaree/TT8XdtNCvpfMuMeGhCldQqTcI5AUTgqNpm9LatB2+ugokztCN1Syk79kDoCQFGlGOPkC P0bWL38hJORyGMos1nR7N4nIRSiFF/Iq5bivZU3k6tCKyvy9MLMHKVZERoqN3TDyyw/eMrD46cV rifCzfBShp6GwRipDx+/C0b+DC4iAjNJC+0fNF5ilXspVergAmu/E+9cp+IOiw8gP2khCCQ8Xfe 6DlY1z6pYpuWoYTeqfLei3X9hj25XXgh9o70R3N6Zh9ef655QzU2S0oQ6dqzc09lW3fvOylN+S4 wWTwLcZE1SFshhZkTnYejauN53s5OtTLLRKhzcjf5Z3HsK23Ybfr5Hrj6IQ3LQGc8N+/XCV3W6+ QQjlBIISU6uFj01to6DwEZvakj9lI3IoSbNUXXLD09clZXir4hQZTfE9f7J X-Received: by 2002:a05:6a00:414e:b0:82f:4a4d:377e with SMTP id d2e1a72fcca58-83f33d9d741mr17598050b3a.28.1779141760496; Mon, 18 May 2026 15:02:40 -0700 (PDT) Received: from lord-daniel-VivoBook-ASUSLaptop-K3502ZA-S3502ZA.www.tendawifi.com ([14.139.108.62]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-83f1977b128sm15772960b3a.22.2026.05.18.15.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 15:02:40 -0700 (PDT) From: Piyush Patle To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andreas Klinger , Andy Shevchenko , Conor Dooley , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v9 01/11] dt-bindings: iio: adc: hx711: clean up existing binding text Date: Tue, 19 May 2026 03:32:17 +0530 Message-ID: <20260518220228.63322-2-piyushpatle228@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260518220228.63322-1-piyushpatle228@gmail.com> References: <20260518220228.63322-1-piyushpatle228@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Rewrite the binding description and property text so it describes the existing HX711 hardware behavior directly instead of documenting old driver implementation details. Also clarify that clock-frequency controls the SCK bit-bang timing. No functional change. Signed-off-by: Piyush Patle Reviewed-by: Andy Shevchenko Acked-by: Conor Dooley --- No change from v8. Already applied to iio.git testing branch. .../bindings/iio/adc/avia-hx711.yaml | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml b/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml index 9c57eb13f892..1ea60dff98d5 100644 --- a/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml @@ -10,14 +10,9 @@ maintainers: - Andreas Klinger description: | - Bit-banging driver using two GPIOs: - - sck-gpio gives a clock to the sensor with 24 cycles for data retrieval - and up to 3 cycles for selection of the input channel and gain for the - next measurement - - dout-gpio is the sensor data the sensor responds to the clock - - Specifications about the driver can be found at: - http://www.aviaic.com/ENProducts.aspx + The HX711 is a 24-bit ADC with selectable gain (32/64/128) and two + differential input channels. Channel A supports gain 64 and 128; + channel B supports gain 32. properties: compatible: @@ -26,23 +21,23 @@ properties: sck-gpios: description: - Definition of the GPIO for the clock (output). In the datasheet it is - named PD_SCK + GPIO for the clock output (PD_SCK in the datasheet). maxItems: 1 dout-gpios: description: - Definition of the GPIO for the data-out sent by the sensor in - response to the clock (input). - See Documentation/devicetree/bindings/gpio/gpio.txt for information - on how to specify a consumer gpio. + GPIO for the data output from the sensor (DOUT in the datasheet). maxItems: 1 avdd-supply: description: - Definition of the regulator used as analog supply + Analog supply voltage (AVDD). clock-frequency: + description: + Controls the SCK bit-bang timing. The value is used to derive the + delay between SCK edges; keep the SCK high time below 60 us to + avoid triggering chip power-down mode. minimum: 20000 maximum: 2500000 default: 400000 -- 2.43.0