Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6478527rdb; Tue, 2 Jan 2024 03:29:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfBQ7trSFFggXt6qQ8DHJG5Fz39yRMWBBlYBVRlPqPue+g7wmPzQwngAAX66oPTtbbXgbi X-Received: by 2002:a05:622a:28e:b0:428:b8a:7c91 with SMTP id z14-20020a05622a028e00b004280b8a7c91mr8988968qtw.18.1704194968483; Tue, 02 Jan 2024 03:29:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704194968; cv=none; d=google.com; s=arc-20160816; b=0MXPm5v2H7hlnRwdMzp/5n+Qip/UI/E/RJh2oKmiPK5k/5b2SIu2hAFeHiQz6i2EES Oacs+HHH20n7JqOUou0CjgdT91WUazsD6nIKuzIq66iG94tHOXIehUeDn2VzwLRfz4gd TavzigyhmF0mIEs/od1XRqs99H9X9zsMeP0GRPZuJCg6HZHzz8elnFh7WkW5vdZ+Euss jN/jIi/zhDTohcqpQVZSqocN3ZHHbWE/FURRiZeSk/z9JFto9/U1IzIPvzK68udfiMM/ 3Os2B+Fcwqi/6ee9zssYAHRlL+mZqGAwJOdQdKKO+az7VuxAgQ4n00G4tdZk6vn/9p2E 3IaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2EkUXSW2KI92KHW8e3ZAr0Ch199HE8M/43HoziRFIM8=; fh=ueBmHjRVA09A3FtSlcus0DauMGTzwSAKpWn3bAtSSko=; b=Yvw8RfulrPdslKec4pK/5U14Jb39ZCMXzRRFD+mY03WTCW6F5gZaloOedsnjQcpXPJ lKZT0daIcThpaNImUDzQtCzDC8l8nhqDOnHGgWc4QkPuO4TOrAfd6Bq455Tkcs3gV/Mq 2iesSxtiU0IvaByKODyoT/1p09sNF4oK5KyQapFNTv+hU64+xrUkbXn7DcdUS8Akjq7t eYhm+jm7wf9eQE2mvcEycF40DjNcgjnbWIQabDVs31CFLD6yRldbMA/d6/pTFStzD1gT /3ngL0ZKvw5fGKfkHTmg8BSBOkmHdoJKomp2n6FKLiqnIAhFNmWFTBKiTtlCb3J4XGaI 5gdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14291-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 4-20020ac85704000000b00421b95298d8si26751047qtw.404.2024.01.02.03.29.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 03:29:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14291-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4078D1C21DEC for ; Tue, 2 Jan 2024 11:29:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F958F9ED; Tue, 2 Jan 2024 11:28:57 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A734DF6D; Tue, 2 Jan 2024 11:28:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=richtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=richtek.com X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(636813:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Tue, 02 Jan 2024 19:28:25 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.27; Tue, 2 Jan 2024 19:28:24 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1258.27 via Frontend Transport; Tue, 2 Jan 2024 19:28:24 +0800 From: To: Jonathan Cameron , Krzysztof Kozlowski , Conor Dooley CC: Lars-Peter Clausen , Rob Herring , ChiYuan Huang , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , , , Subject: [PATCH v3 1/2] dt-bindings: iio: adc: rtq6056: add support for the whole RTQ6056 family Date: Tue, 2 Jan 2024 19:28:21 +0800 Message-ID: X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain From: ChiYuan Huang Add compatible support for RTQ6053 and RTQ6059. Signed-off-by: ChiYuan Huang Reviewed-by: Krzysztof Kozlowski --- v3 - Add Reviewed-by tag. v2 - Refine the 'compatible' description with oneOf and listed items. --- .../devicetree/bindings/iio/adc/richtek,rtq6056.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml b/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml index 88e008629ea8..af2c3a67f888 100644 --- a/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml +++ b/Documentation/devicetree/bindings/iio/adc/richtek,rtq6056.yaml @@ -25,7 +25,14 @@ description: | properties: compatible: - const: richtek,rtq6056 + oneOf: + - enum: + - richtek,rtq6056 + - richtek,rtq6059 + - items: + - enum: + - richtek,rtq6053 + - const: richtek,rtq6056 reg: maxItems: 1 -- 2.34.1