From patchwork Thu Apr 6 17:17:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 80363 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1192059vqo; Thu, 6 Apr 2023 10:33:10 -0700 (PDT) X-Google-Smtp-Source: AKy350aMdN6CpwNhUxx5CjTjDgMa/gU8fVoRsd2yq6roCB25MnbNnCNCBo9RBgObGIecJ+pN98un X-Received: by 2002:a17:90b:3802:b0:233:c301:32b3 with SMTP id mq2-20020a17090b380200b00233c30132b3mr12159293pjb.3.1680802390202; Thu, 06 Apr 2023 10:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680802390; cv=none; d=google.com; s=arc-20160816; b=SDKz9zjUPrERQ9ZZw9lC92gmz3apFL2SRWGBw8ZL9Qr6gMgrlC8hxLQQWwQ/p+nSuG wVxRHh7C+RGfQi0xtjQrWt3mqJOt4V0UbdX+0Zr66GkQZNpED4cCjRIWcfnz7r3gLq1B FPbKolipMqMdAN7yFSZxf9+Ywc7tg2GTIoT+pe9+v7cFEMXag5zuWtPv0+jycTgcKqLn O0P4//e1Dx14D1U1Cx6LCPHEtfEgCahHFBlWCGGqotN2SMqWIt8NShNA7LRKPfoxypP9 aSSO7iP3S+6pKGQziJ5Y+kD4wO7wnNktvDDqxFUHC6jCCAb4d1Aw2YGUlyngGEsdKQQY HRag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+Yp6B6vhdp6a7lzJnKn8bic10DzYnwYB4YOw7ERIQ9I=; b=gx6MvOenv6liFjqYXv9vkMWp1MnN0eOYO8AY38Tbdt4D7eVJkT+o6SM4VXuUBkhDXL vaQ97Cyqwh/KjohF9pQ8w74j921kryVuyIN3PmdJjpbkN/6JKXwaoqj4BQEGeevoZq3Z 1kJARCgppd7VNM9pgCu3YSLB0TqMGJLecPmDJOf8ZDOv4Z+Ew/wZ8qMF3ZT+PoPjgqcX r913BX0fpSbFrB3/cXYDJzZ4cFi/slxUb1rlp2RFbg9lvLyPyWZq8hWzeeZOiH13mSuO SASn30e3hN3NFj5PIIB8A1nmM737PD8ubPt/nDfMuMDcs5XanLEUWfgUFXXFS4FdEAte qAuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RKPJUWOy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a17090ab94700b00230c8e3ed4bsi4385584pjw.24.2023.04.06.10.32.31; Thu, 06 Apr 2023 10:33:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RKPJUWOy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239353AbjDFRST (ORCPT + 99 others); Thu, 6 Apr 2023 13:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239208AbjDFRSR (ORCPT ); Thu, 6 Apr 2023 13:18:17 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C45E68A5B; Thu, 6 Apr 2023 10:18:15 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 4897666031CA; Thu, 6 Apr 2023 18:18:14 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680801494; bh=pLRtimAMK8xZZG9VOP5UPhlbV7ruDA4KIYdGHVjscvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RKPJUWOyhM28Q1PB7BPsnRaSwoxFXvnqW/JmAEkt4SwM+u+IYSeY40kDgi778ag7F sYOhG/R4CT7IrXlqizuXb+cqtNg9sVkp4dmTSxv4K4cJafFpCxZC3S3+5/UHXqqhc3 em+QicXABp3XhzFVCfffjL/qF0ihFesD5xv83/L0xHJOydo7Qs9xXNwRDuYs7HC9jO y0O8g/K5Gnp1E0UMSfXvVy1gfNclIWRKg3o2/W2+eT3LUiosvD9YpmJEBBj2ruktrb QLHljNoZ4ssJrWlizmw3b52F0H0Hy4omacx45foTTbJGAZVIA+ay37AjPZJg8MQuaT g6erqSzMbibBw== From: Cristian Ciocaltea To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Bjorn Andersson , Joseph Chen , Ezequiel Garcia Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel@collabora.com Subject: [PATCH v2 1/8] regulator: dt-bindings: fcs,fan53555: Add support for RK860X Date: Thu, 6 Apr 2023 20:17:59 +0300 Message-Id: <20230406171806.948290-2-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406171806.948290-1-cristian.ciocaltea@collabora.com> References: <20230406171806.948290-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762449047378541355?= X-GMAIL-MSGID: =?utf-8?q?1762449047378541355?= Add compatibles to support Rockchip RK860X regulators. RK8600/RK8601 are pretty similar to the FAN53555 regulators, while RK8602/RK8603 are a bit different, having a wider voltage selection range. Signed-off-by: Cristian Ciocaltea --- .../bindings/regulator/fcs,fan53555.yaml | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml b/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml index c0dbba843f70..7547c130ff7d 100644 --- a/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml +++ b/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml @@ -14,12 +14,22 @@ allOf: properties: compatible: - enum: - - fcs,fan53555 - - fcs,fan53526 - - silergy,syr827 - - silergy,syr828 - - tcs,tcs4525 + oneOf: + - items: + - enum: + - fcs,fan53555 + - fcs,fan53526 + - rockchip,rk8600 + - rockchip,rk8602 + - silergy,syr827 + - silergy,syr828 + - tcs,tcs4525 + - items: + - const: rockchip,rk8601 + - const: rockchip,rk8600 + - items: + - const: rockchip,rk8603 + - const: rockchip,rk8602 reg: maxItems: 1