From patchwork Thu Jan 4 09:03:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiYuan Huang X-Patchwork-Id: 184948 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp5495027dyb; Thu, 4 Jan 2024 01:04:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6KK+fic97RGgUHC/+3TM3CqSkW3IvVVT25I50S79USrAcQVu0topVMWzE17VWCX3g2xYB X-Received: by 2002:a17:906:fc26:b0:a23:8918:2399 with SMTP id ov38-20020a170906fc2600b00a2389182399mr148303ejb.130.1704359082523; Thu, 04 Jan 2024 01:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704359082; cv=none; d=google.com; s=arc-20160816; b=XOfK5f5vtKDX2i+k0EMff7cyFbp0neydsKU+6F5AGLxaT1TzozNwMR2YQo9XKoFrwt RQEIJHKy2q7qgJhX+T+U3BbTCTsB6tbA/NstTZU4b33BjY4Os/LZn7jMKCdbyn7AEuEN 6gnps1YPGd6bZ1a/+16d3d55gToa9dQ3jLqAF8Z5ZbJSyJE8AJGHE10F4wG/tjov/hof g80acvIRNLLKgmoZ35HXEbx0w+hL2FRmFKoj6cFACy7wwEPW/ZM+V+fqcXibpI5QOgSF Rfc0mBJB3/n+wGLNvfcekp/x1WdnhI7ps9XK3ga9ldvudKXl8JIyQ0j1A0gWNBozSz0a f7mw== 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=OWENU+IJt9RSyDLrf0SatH6Rjw/Ckg/DsSCcsi/DkcmuxivPzkfCql+/XoQisQjLX5 LrFL/O9YLPq1TjFL5MfTT61xjq+2+PzT9WW3iPMzqfHxSMRRNITcr4HYsvOxy1Dl4T7t jZDWTmHRef5I4U/PSaK5Gp0NABShnsK8Om3GTxcnzQHyA4w2BIM/WGW0Vo6Afn1HPaLU kOK16Sx8d3pafdoPpg1Gsx+jw+QoEP8glrSf5KLXw1gsXim8uGo1bMHkkjWeXCyr/arw z20NU1589bg2dcdeYeF2q533G3HvqvGQO8VwdDz0TdHtPPMYFNO4o0ohzCYNgPuuufFI RHvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-16411-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16411-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id wg14-20020a1709078f0e00b00a27a3bcd9d1si4363512ejc.780.2024.01.04.01.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 01:04:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16411-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-16411-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16411-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 A96E41F225C8 for ; Thu, 4 Jan 2024 09:04:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAAD1208AD; Thu, 4 Jan 2024 09:04:16 +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 E544F1EA8F; Thu, 4 Jan 2024 09:04:11 +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(636822:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Thu, 04 Jan 2024 17:03:32 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) 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; Thu, 4 Jan 2024 17:03:32 +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; Thu, 4 Jan 2024 17:03:32 +0800 From: To: Jonathan Cameron , Krzysztof Kozlowski , Conor Dooley CC: Lars-Peter Clausen , Rob Herring , ChiYuan Huang , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , , , Subject: [PATCH v4 1/2] dt-bindings: iio: adc: rtq6056: add support for the whole RTQ6056 family Date: Thu, 4 Jan 2024 17:03:30 +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: 1787150029822406397 X-GMAIL-MSGID: 1787150029822406397 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