From patchwork Mon Jan 8 01:47:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiYuan Huang X-Patchwork-Id: 185787 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp785774dyq; Sun, 7 Jan 2024 17:49:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFAFCq787LZFFmPHvJcUOoFVR13p0zUP6ZkExZPC5ZHfZv+j2z2YF16Hb17/VbYDHWeHkm9 X-Received: by 2002:a17:906:eec7:b0:a28:fc8a:5da9 with SMTP id wu7-20020a170906eec700b00a28fc8a5da9mr1503184ejb.47.1704678541504; Sun, 07 Jan 2024 17:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704678541; cv=none; d=google.com; s=arc-20160816; b=PSTenWADtN5FIH6lmiDvj2stfvZmPPu6WVydl71HpQ5kO3BMO9C5ynkJJOqJ8Em3Gq vnjS4J8FtnOlKmqSYVlZVWSV1XeDxD/Wr8vOl8QUD71ohKSb9NR2pBIVqT4G8Py2hkt5 KNCcLjvNJfjSI8dNbQvufrcOujWYVw46+ctRnDcNyaCPu5J/3BTDmWeQVYf0quG7uno/ XZVu+qU8ikISoTZApeN4KGb5Wf7HpmRZR4OJ65tQeqwLsHSou5O952XvfGwlq4/+1LbM FNRScohla9EQ9Hddqz9FDES8dSFHQaFv65kNMQ/3Ftg18bpxy9uJXHrRtklom7AztGcC 0SPw== 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=1kLH0UtgdLJkJJ3TlOa8IDDuGI2H+gGNUnbtzzY5PSA=; b=ERZ+daFTY8x3svt8+pyJSzYt6hV7GXIv7PC3sPX4tzK05SMIRGyxIM5bybCuEH+9uW +Nub11NA8URDRzWmApogctzZ7qa5GHLPaNo1edcv8cko6ZxsjcBSYGJwwtEEkJQXPe3g 1YunrTJHyQBPv3RAPkz/eEepofe8Hvq7blc1oKjYq9YJomFATcI2Oa+MhzGHNYJnrTyN TWomO0E5mXwGowM4CZNQaIdZf2MjgCAjIV404t3XeMyVx0ZH5F5BoxVIsDXBMbs2iTCh MOMwTd1otn3ROq9XOlB1NdReFSVG5t1PJUvDUg8XRvvov8ybN3yeHohvc42FZtXU0Wzi Bj1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19044-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19044-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id c6-20020a17090603c600b00a27c14be748si2643372eja.920.2024.01.07.17.49.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 17:49:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19044-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19044-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19044-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0CDA11F217A0 for ; Mon, 8 Jan 2024 01:49:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 082AA6AD6; Mon, 8 Jan 2024 01:48:15 +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 EEFC67F; Mon, 8 Jan 2024 01:48:09 +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.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(636808:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jan 2024 09:47:30 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.27; Mon, 8 Jan 2024 09:47:29 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1258.27 via Frontend Transport; Mon, 8 Jan 2024 09:47:29 +0800 From: To: Jonathan Cameron CC: Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , ChiYuan Huang , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , , , Subject: [PATCH v5 1/2] dt-bindings: iio: adc: rtq6056: add support for the whole RTQ6056 family Date: Mon, 8 Jan 2024 09:47:27 +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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787485006465415848 X-GMAIL-MSGID: 1787485006465415848 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