From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4C10266196; Mon, 24 Feb 2025 18:58:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740423496; cv=none; b=DBC9mAoMj/Ycno1pF5LkxsjEA5ZBOe4gP4FRSfCcdx8O/SdN5LLPyVwD8pmUTjf7pC+SE4Tf3GJcfmyQ6ZoDKwc8sTrJOUQPNHpUxIMYKp+F80hlWbOhOTd7sZd0a1EcOArSF+jr8LgTjS065R3zmBucOO2k6Z9bOth6pmniXZw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740423496; c=relaxed/simple; bh=MGqd6UyFbLEvXbwx8sco4jvnELmzS1EXFIH5OYWVOaU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UNZ8pgQSAwtggK8geCCJBNNeykq6uubtSGeyJNIK00IVYc11cb0JDQQZMaSp1T/wPa3XEny4bwsgh/p1/COW/n6ZmwgU6VCIrgUOatVfpbTz8lUFLwG2S2fSeZVAhSkkThBUeSRZjrVO353/x06bJbYUYsMDZ+x1+vHnQgSq46c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e0PnSkU3; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e0PnSkU3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D59C1C4CEE7; Mon, 24 Feb 2025 18:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1740423496; bh=MGqd6UyFbLEvXbwx8sco4jvnELmzS1EXFIH5OYWVOaU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e0PnSkU3scMtWm3Ig7P0MxfH7yjicqDahqLvSnu4/g4uB6UONsvqBE+4PTfpxkDf6 Zyg2ueuZlmzz3eBdsNqcXSykRUP3rOJmVWxz1LVNqUixqdoA3Ecvb61VscmJ+iGINM Jr0rwteU/qRa3roO7Y3tnLhDPg59GDkpvZHBkqpWhnxaXQ+uYdLNULjooZclcnb1L1 MZwBu3I7nip9THXJRyXEc+BWG0q0KifPPVitL7s5nc6/ZrVN4UoF+9dgljkxwj1en7 sP+mLOAlpGGZbB6EHBEBR7ZS1tAcqsbAXnaf5bDsO9QcRSOFyXZtfUOCo3zG1UXqTV B8bDZkhas+ESQ== Date: Mon, 24 Feb 2025 18:58:10 +0000 From: Conor Dooley To: Lukasz Majewski Cc: Rob Herring , Krzysztof@spud, Kozlowski@spud, Conor Dooley , Neil Armstrong , Heiko Stuebner , Aradhya Bhatia , rafal@milecki.pl, devicetree@vger.kernel.org, Guenter Roeck , Noah Wang , linux-kernel@vger.kernel.org, Peter Yin , Naresh Solanki , Alex Vdovydchenko , Grant Peltier , Laurent Pinchart Subject: Re: [PATCH 2/2] dt-bindings: trivial-devices: Document SPI measurement on LWE boards Message-ID: <20250224-crux-tabasco-4107deee169e@spud> References: <20250221155418.1167670-1-lukma@denx.de> <20250221155418.1167670-2-lukma@denx.de> <20250221-scuba-rematch-ada1a9b750b1@spud> <20250221215659.61ecc523@wsk> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HqBwAz7wwaok1LZr" Content-Disposition: inline In-Reply-To: <20250221215659.61ecc523@wsk> --HqBwAz7wwaok1LZr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 21, 2025 at 09:56:59PM +0100, Lukasz Majewski wrote: > Hi Conor, >=20 > > On Fri, Feb 21, 2025 at 04:54:18PM +0100, Lukasz Majewski wrote: > > > The measurement device on Liebherr's (LWE) boards is used to monitor > > > the overall state of the device. It does have SPI interface to > > > communicate with Linux host via spidev driver. Document the SPI DT > > > binding as trivial SPI device. > > >=20 > > > Signed-off-by: Lukasz Majewski > > > --- > > > Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ > > > 1 file changed, 2 insertions(+) > > >=20 > > > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml > > > b/Documentation/devicetree/bindings/trivial-devices.yaml index > > > fadbd3c041c8..5d736a9792c2 100644 --- > > > a/Documentation/devicetree/bindings/trivial-devices.yaml +++ > > > b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -161,6 > > > +161,8 @@ properties: > > > - jedec,spd5118 > > > # Linear Technology LTC2488 > > > - lineartechnology,ltc2488 > > > + # Liebherr on-board measurement SPI device > > > + - lwe,btt =20 ^^ Are these two trailing spaces an artefact of the mail? > >=20 > > How does "btt" translate to what the device actually is? Seems kinda > > random! >=20 > Btt is a family of devices (bttc, btt3, xea) - to control heavy duty > machines. >=20 > That was the original codename - conceived probably 30+ years ago. If there's 3 different devices, how come there aren't 3 compatibles, 1 for each? >=20 > > Also, where is patch 3, adding the lwe,btt to the spidev driver so > > that it will probe? >=20 > I've posted it to Mark Brown (and also linux-spi ML) for review. >=20 > >=20 > > Cheers, > > Conor. > >=20 > > > # 5 Bit Programmable, Pulse-Width Modulator > > > - maxim,ds1050 > > > # 10 kOhm digital potentiometer with I2C interface > > > --=20 > > > 2.39.5 > > > =20 >=20 >=20 >=20 >=20 > Best regards, >=20 > Lukasz Majewski >=20 > -- >=20 > DENX Software Engineering GmbH, Managing Director: Erika Unter > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --HqBwAz7wwaok1LZr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZ7zBQgAKCRB4tDGHoIJi 0vRwAP9N0fVaExnFQCdcKbeMh1BzembuidqTArcQ2Pm/BAWWyAD/cgx5piCsNnfV 1cW1MPvVluWZo6LhaZZwiCnXPAnRqwM= =3caU -----END PGP SIGNATURE----- --HqBwAz7wwaok1LZr--