From patchwork Tue Jan 23 15:14:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nuno Sa via B4 Relay X-Patchwork-Id: 765823 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 385A95FBB7; Tue, 23 Jan 2024 15:14:33 +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=1706022874; cv=none; b=Pw29nlDnWvk5HMYNx1jkoeVHJe2FbViAYZo49mCmvqWGUNNYFOwGrROJjqdWfFFKfssqdVt/G3RnFENSd4jx88e52Z8TuvHOKjrhPukxdvhc+wymDBh6NbW6zjClVC33de4RybF6jNAs5Y7Xhul3UBxib/IHL7NBh5x93z6iH+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706022874; c=relaxed/simple; bh=cRBsVA/gjcOt9pjoEuJIhQ39NaZaSPebkpAvtLwDKu0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=c8RVqizIlVKqN9AgoaSAIS30TC3tdN9EXF4/sp4BXmiMOpkcz5R/7gQSEWgpDb9xxQL83Y8HDhGvBeMWr1J4ZT8m3C0Jt4bBY45ANVg+03san6dqUZUYTsMoa8vmRLjg95S4iad+tO0XuIUz9H6pXtq4DklFV3XcQkkqLKZNj3k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=epvP0mLK; 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="epvP0mLK" Received: by smtp.kernel.org (Postfix) with ESMTPS id C4FCFC43399; Tue, 23 Jan 2024 15:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706022873; bh=cRBsVA/gjcOt9pjoEuJIhQ39NaZaSPebkpAvtLwDKu0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=epvP0mLK5UxMBubB2uTjMiYOfMD64nDtsqRXVFn9u6Pn0JWO5sTDftLnjbLsukZ4m /bpyxiq+XUcajl3NiOpiqXioyiIWwUCODrdbJyKmrhP7XMcce30O5YVctjM96b7489 WWoOG3UcRs6TNGrC+NmyG68lMO7Yrbq7S2V2cwXoeNqhLRI6H7dllrsGV+/KLTgoeL JZYYOEJS1cHu+5TRPmqF2aIezaxxy5465ahrR5BAdbwSVvYgSHb4dUeyKqQoco5f/c 8RYNLjyWrkgeIjSzq0twtpx/kndSQyUkVstHglNtESrwj/H+l2qusR/9scvWKcQe8V e89N4/SzCPeUA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AEB6EC48260; Tue, 23 Jan 2024 15:14:33 +0000 (UTC) From: Nuno Sa via B4 Relay Date: Tue, 23 Jan 2024 16:14:23 +0100 Subject: [PATCH v7 2/9] dt-bindings: adc: ad9467: add new io-backend property Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240123-iio-backend-v7-2-1bff236b8693@analog.com> References: <20240123-iio-backend-v7-0-1bff236b8693@analog.com> In-Reply-To: <20240123-iio-backend-v7-0-1bff236b8693@analog.com> To: linux-iio@vger.kernel.org, devicetree@vger.kernel.org Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , "Rafael J. Wysocki" , Frank Rowand , Olivier Moysan , Saravana Kannan , Rob Herring X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706022871; l=1193; i=nuno.sa@analog.com; s=20231116; h=from:subject:message-id; bh=u0BDfBpNIPqTnjAdSKSUmF2FUWY8hltyVdK2adeadi0=; b=49gkoECVKkKlKx5cMVJHOpzFwt3fvdTDg41C89Fedhr004RrCWIMG9FubvxBeMOTkr7pr4U0d d+19A2bx14aC5Yh4gbhMOhx5gtNe5ewEO3MUWlPyFzpFAFeHJ+AFmZg X-Developer-Key: i=nuno.sa@analog.com; a=ed25519; pk=3NQwYA013OUYZsmDFBf8rmyyr5iQlxV/9H4/Df83o1E= X-Endpoint-Received: by B4 Relay for nuno.sa@analog.com/20231116 with auth_id=100 X-Original-From: Nuno Sa Reply-To: From: Nuno Sa The ad9467 will make use of the new IIO backend framework which is a provider - consumer interface where IIO backends provide services to consumers. As such, and being this device a consumer, add the new generic io-backend property to the bindings. Reviewed-by: Rob Herring Signed-off-by: Nuno Sa --- Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml index 7aa748d6b7a0..eecd5fbab695 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml @@ -44,6 +44,9 @@ properties: Pin that controls the powerdown mode of the device. maxItems: 1 + io-backends: + maxItems: 1 + reset-gpios: description: Reset pin for the device. @@ -68,6 +71,7 @@ examples: reg = <0>; clocks = <&adc_clk>; clock-names = "adc-clk"; + io-backends = <&iio_backend>; }; }; ...