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 9EE90140E30; Tue, 24 Sep 2024 22:32:54 +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=1727217174; cv=none; b=cRCZo28CJlPjc2+ueQtzwYqv9MKLKp6GeShNqXuEGSC5JRT3oMiQ/0vVN7go5+QkXNxzDw6qFwr9my5nSWUHJTO3alqwZNd2Gl0or+cN5ZViYZSwuAGsTEJ4Rf+UuIhi7B2CGd6vEzPHxhqheRjjWgM76YeUtZc17wbM3GLKTps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727217174; c=relaxed/simple; bh=MMuFHHE8yf0thaTzhn4AnEOYyvt5BjWMgnjwJ6KAB1s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sx8tKoLEzHXdlqZJOqzwkp4nkDG+b9u1Cz/yV+eUSU4jgFBM9EwMTOMoYOyaBPf2vfZtDJqQSJXY2kCwh0EB72c11wYdF+VEk6BC56UhFpBN4GGnM0MUa77DfB5gi+EmHrDx0PgmVKdcnbj8iMFu3TS3WD1ItKdgy52q59PTV+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FUgu8IJr; 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="FUgu8IJr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AA66C4CEC4; Tue, 24 Sep 2024 22:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727217174; bh=MMuFHHE8yf0thaTzhn4AnEOYyvt5BjWMgnjwJ6KAB1s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FUgu8IJr+Ekzzbc91nB4TXhAvZHd+gILh+QZALXrs3n7MX83hNy+x1A7twHI4XDr2 fqBbeShVgqHMB/Af0g0ANggVirXF6Hak/FrdeXnSgmhzCHXmSoE70zu4CsYS7LwjFi 1ySQHpMSHbnCf2C3iPXQ7Wmjb4+9OON4faBN0m1uGsujVZH//y7FLtdEvKsZ8nRBxY VEbzylvY+eToUycMvxIVe+CDiTOi2Kf3TnWGW+53IcxfpxBem+xKPfrZn9icGWvAit sujR8UvklpNmJqROJhlCVrhdEjKFf2hwg6VFg/hwrYnaY+TxWAjbm0Ky+rwwhARgc5 Kh2fs75iXpkIw== Date: Tue, 24 Sep 2024 17:32:53 -0500 From: Rob Herring To: Antoniu Miclaus Cc: Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , Krzysztof Kozlowski , Conor Dooley , Nuno Sa , Olivier Moysan , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Andy Shevchenko , David Lechner , Marcelo Schmitt , Mike Looijmans , Marius Cristea , Dumitru Ceclan , =?iso-8859-1?Q?Jo=E3o_Paulo_Gon=E7alves?= , AngeloGioacchino Del Regno , Alisa-Dariana Roman , Sergiu Cuciurean , Dragos Bogdan , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH 5/7] dt-bindings: iio: adc: add ad458x Message-ID: <20240924223253.GA408169-robh@kernel.org> References: <20240923101206.3753-1-antoniu.miclaus@analog.com> <20240923101206.3753-6-antoniu.miclaus@analog.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240923101206.3753-6-antoniu.miclaus@analog.com> On Mon, Sep 23, 2024 at 01:10:22PM +0300, Antoniu Miclaus wrote: > Add devicetree bindings for ad458x DAS family. typo: ad485x Subject too. > > Signed-off-by: Antoniu Miclaus > --- > .../bindings/iio/adc/adi,ad485x.yaml | 82 +++++++++++++++++++ > 1 file changed, 82 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad485x.yaml > > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad485x.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad485x.yaml > new file mode 100644 > index 000000000000..5f5bdfa9522b > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad485x.yaml > @@ -0,0 +1,82 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright 2022 Analog Devices Inc. It's 2024 > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/iio/adc/adi,ad485x.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices AD485X DAS family device driver What's DAS? This is a binding, not 'device driver'. Just drop. > + > +maintainers: > + - Sergiu Cuciurean > + - Dragos Bogdan > + - Antoniu Miclaus > + > +description: | > + Analog Devices AD485X DAS family > + > + https://www.analog.com/media/en/technical-documentation/data-sheets/ad4858.pdf > + > +properties: > + compatible: > + enum: > + - adi,ad4858 > + - adi,ad4857 > + - adi,ad4856 > + - adi,ad4855 > + - adi,ad4854 > + - adi,ad4853 > + - adi,ad4852 > + - adi,ad4851 > + - adi,ad4858i > + > + reg: > + maxItems: 1 > + > + vcc-supply: true > + > + vdd-supply: true > + > + vddh-supply: true > + > + vio-supply: true > + > + pwms: > + maxItems: 1 > + > + io-backends: > + maxItems: 1 > + > + spi-max-frequency: > + maximum: 100000000 > + > +required: > + - compatible > + - reg > + - vcc-supply > + - vdd-supply > + - vddh-supply > + - vio-supply > + - pwms > + > +unevaluatedProperties: false > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + adc@0{ > + compatible = "adi,ad4858"; > + reg = <0>; > + spi-max-frequency = <10000000>; > + vcc-supply = <&vcc>; > + vdd-supply = <&vdd>; > + vddh-supply = <&vddh>; > + vio-supply = <&vio>; > + pwms = <&pwm_gen 0 0>; > + io-backends = <&iio_backend>; > + }; > + }; > +... > -- > 2.46.0 >