From patchwork Thu Jan 14 11:35:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 363021 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51749C4332D for ; Thu, 14 Jan 2021 11:37:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DBD623A01 for ; Thu, 14 Jan 2021 11:37:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728757AbhANLgw (ORCPT ); Thu, 14 Jan 2021 06:36:52 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57499 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727378AbhANLgv (ORCPT ); Thu, 14 Jan 2021 06:36:51 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 25A4E1615; Thu, 14 Jan 2021 06:35:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 14 Jan 2021 06:35:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=voezPL6wATXNI hqV+PCs+CHr6Cr+ulGe8wo5s1aywyE=; b=bOn10P1AqSe0GP08wHZUjKn8RXyye KOtvV2Imf5FZ3jENAhXnyHOfX2FX+TIBa6p5uDFaJJdmfZSP6pgDGitk1rlahkFD cxKnJ6OMhomggw08Ww+VMEQTJMhHYIUIxNe+wmtDVlf0RgVhR4riyiQ9tCclrPdx SA5yDKlC/d8Pimg/P4Z/dVk1h3kNsSAJn9D4C0oHSC4a9rrEejcVzzBZN5McERgk ljg+kw9wOoOgFO0Aoi925seDeM5d2VpVx5jXdr6Hxd70MUayV6a6votLp3x0CpOU YgR5A2HXvts+4UOLZZ0rKVUsNM1CUq3RrNdRASN3gc/zD36pubhlTwnQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=voezPL6wATXNIhqV+PCs+CHr6Cr+ulGe8wo5s1aywyE=; b=MYtBIijQ WtQQ2QQ6B+k4ahJ0rHlJTeRpD4k8Qi3PlKm3TEd9MwTlpbciFlrhkNFSz7yl69mL xThfE7OX7euooMxumIBptDdmVB1u0uOf/9aSonQ9A5mtWWrdIdc/yWjVwNbuxUJn 12T0CwCfkZHk4OWIoK82fWEfcmAyZgI/qsRQe4URj5+q1G5vnA0GSVG5nR58OaA1 K+GPHRTAZaauikJQes1Nk41XAhp9CHr6WKgBx46FDUNzdB3H7a1qBcRGPmfaGgJ9 5XYqqrr4Hwibw6o6JKaBiqeLlmNqBLfXI0ExKByOyaE8Dl6HJ3UrbliXZnH27Cvi zUAeRqo+3kXQkw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtddtgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpedvkeelveefffekjefhffeuleetleefudeifeehuddugffghffhffehveevheeh vdenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 244041080057; Thu, 14 Jan 2021 06:35:44 -0500 (EST) From: Maxime Ripard To: Rob Herring , Frank Rowand , devicetree@vger.kernel.org Cc: Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , linux-arm-kernel@lists.infradead.org, Jonathan Cameron , Lars-Peter Clausen , Peter Meerwald-Stadler Subject: [PATCH 02/19] dt-bindings: iio: adc: Add AXP803 compatible Date: Thu, 14 Jan 2021 12:35:21 +0100 Message-Id: <20210114113538.1233933-2-maxime@cerno.tech> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210114113538.1233933-1-maxime@cerno.tech> References: <20210114113538.1233933-1-maxime@cerno.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The AXP803 compatible was introduced recently with a fallback to the AXP813, but it was never documented. Cc: Jonathan Cameron Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler Signed-off-by: Maxime Ripard Acked-by: Jernej Skrabec Acked-by: Jonathan Cameron --- .../bindings/iio/adc/x-powers,axp209-adc.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml index 5ccbb1f81960..e759a5da708d 100644 --- a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml @@ -46,10 +46,14 @@ description: | properties: compatible: - enum: - - x-powers,axp209-adc - - x-powers,axp221-adc - - x-powers,axp813-adc + oneOf: + - const: x-powers,axp209-adc + - const: x-powers,axp221-adc + - const: x-powers,axp813-adc + + - items: + - const: x-powers,axp803-adc + - const: x-powers,axp813-adc "#io-channel-cells": const: 1