From patchwork Fri Mar 11 18:49:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12778521 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C181C43219 for ; Fri, 11 Mar 2022 18:50:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235272AbiCKSv0 (ORCPT ); Fri, 11 Mar 2022 13:51:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350937AbiCKSvY (ORCPT ); Fri, 11 Mar 2022 13:51:24 -0500 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15B961C60C6; Fri, 11 Mar 2022 10:50:18 -0800 (PST) Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id B1E44839E8; Fri, 11 Mar 2022 19:50:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1647024616; bh=kHtJrHHI6FCuXQtmrlkdhET9MwbI4rAZyUkWU9uZpTY=; h=From:To:Cc:Subject:Date:From; b=BghRDi/FUjZjzgD+yW4dS9+4++1rERRS1u75X4ppr6BF5bAtLn9NSoSIl9I3j+0kx fa9p/eCZhmM9f41FUAMrAje86PXewinXkiuY4IbTT3A4iaxYInTyofl/C5MrcPRE2T TZmehMZQywPMoTMZ5Q2lOXvHMx6rO/Mb1Lv/3mnR1aGDt4//SyQn2yPlLGJV6+zrPz dSazIUExWRsDo6w/fraa1GygsMBzQ+ZtCgyhN1Jnt4UtSiVURn5T6IAJyyIWYnoDZv G603KKZaG2roK1r2PrkjuFt8lPzciG3xpDDBolh+ZQZ8Q+TQ6KIvnr6ColtfN3ijXl 6q8oZkOPiyxTQ== From: Marek Vasut To: linux-iio@vger.kernel.org Cc: Marek Vasut , Krzysztof Kozlowski , Andy Shevchenko , Andy Shevchenko , Daniel Baluta , Jonathan Cameron , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 1/7] dt-bindings: iio: adc: ti,ads1015: Add missing ADS1115 compatible string Date: Fri, 11 Mar 2022 19:49:18 +0100 Message-Id: <20220311184925.99270-1-marex@denx.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Add missing ti,ads1115 compatible string. This compatible string is supported by the Linux kernel driver and the ads1015 is a 12bit ADC while ads1115 is 16bit ADC. Add the missing compatible string. Acked-by: Krzysztof Kozlowski Signed-off-by: Marek Vasut Cc: Andy Shevchenko Cc: Andy Shevchenko Cc: Daniel Baluta Cc: Jonathan Cameron Cc: Rob Herring Cc: devicetree@vger.kernel.org --- V2: Add AB from Krzysztof --- Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml index 2c2d01bbc296d..c31c80989cc9a 100644 --- a/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml +++ b/Documentation/devicetree/bindings/iio/adc/ti,ads1015.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/iio/adc/ti,ads1015.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: TI ADS1015 4 channel I2C analog to digital converter +title: TI ADS1015/ADS1115 4 channel I2C analog to digital converter maintainers: - Daniel Baluta @@ -15,7 +15,9 @@ description: | properties: compatible: - const: ti,ads1015 + enum: + - ti,ads1015 + - ti,ads1115 reg: maxItems: 1