From patchwork Thu Apr 6 19:41:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 80431 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1273885vqo; Thu, 6 Apr 2023 13:09:37 -0700 (PDT) X-Google-Smtp-Source: AKy350b5YxfEixocsDve4GXJb+Ogk0sHFKaFM09lEhoVCbg/jtzFLm/7K14dzJs78+7z9c3bYdH7 X-Received: by 2002:a05:6a20:49a7:b0:de:af2f:fddb with SMTP id fs39-20020a056a2049a700b000deaf2ffddbmr3371546pzb.23.1680811777354; Thu, 06 Apr 2023 13:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680811777; cv=none; d=google.com; s=arc-20160816; b=Qw7JTqGzU2x6XPcGcQLNEenVxlLZA8bdkQEJjoRNUtAxJNM+ohDuH9qfTcNX6j1De6 YmNJt65BV2SIFX7CDhMAZkjcC8B2G+9/rfBKvQbP3fzjwfeZ/yrknR39Kl0BJAgVcdZ5 Ewvn/Oc0cgYmOQ9gA/oB7d7XZn3s3kNv+eMpVJQnRaDNVQoDmiFm0/fjZlXbkXSDEJU3 XN7K6pE2t3ngHrAMcWSaDuY03Vxxhhwdc2sVLL65OksDblfyy6ygCz9RAKNwXFFOIycN JCDzKJzo7AbyRNIT2mwpQq/TP6BHJoZCILYDq8P0loQeYM/nZEnXVZ66/Q3ZpqKqMBne a2bA== 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=H6bxSBrASOQShWI6O77OVGB7xsXCGEXdXIQ9Z+fJe7U=; b=fRQXudJR0zgKDwYsAMPK17OMStxCqXwJ9la7R8cCrM1q5z+Msex1FftHjIrsW9T0MF mUMjbVN0pg0+13uqDhQNkL29xln06a5gYToTcb5eK3sRvn4GK4Ld21aY4IMkS65ZDv6R LJfHNxuSugp9sLKSDV230CH/U56JckjdYuG6F/HHHdNAmjTPjc7arVmpPRf0ySALQ5W0 UuUbap1uMslX4ymPcmVmwntfHSNQPln2hGZ0EdemBaJvaa5O10DbEZMB2gN20Bp431p+ mq7aVoeB9KxBtxcHRRkIfuksSpkfbcPo6BPWCZlm0cnFks0q4dlOyrwbycO3WHIPRoll lIGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Sht2ZCmG; 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 z27-20020aa7991b000000b0062e2316ead0si2025427pff.283.2023.04.06.13.09.24; Thu, 06 Apr 2023 13:09:37 -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=Sht2ZCmG; 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 S237353AbjDFTmL (ORCPT + 99 others); Thu, 6 Apr 2023 15:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237215AbjDFTmI (ORCPT ); Thu, 6 Apr 2023 15:42:08 -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 BDA5D94; Thu, 6 Apr 2023 12:42:07 -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 666C066031C7; Thu, 6 Apr 2023 20:42:06 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680810126; bh=kBM0XoqygD9m31/+bsMxaUmEkxsl4CMhuMZFxsCQYWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Sht2ZCmGbEYhavLnY+NCANLveT6wQWW7hhDdLk0Xo+MMdXBJux7XG0A6OcTmp/+/L TP1g/tDSEtjrK3wWF6sxsAvXwE4MNZ8OtyiXYG6vkBP8Oi/xRGTn3ZxEMoCwi/WKI6 8R0LEcmrIfZ8UCyNSoFogpXdEYj/bmlHVpvvhqfvLI/1ydxEI+hAwps/QM3b8dd0C9 aSQ0kjkTX+lpzwJMXKFuSx4t4Mle/LIJbYnZGKMZF0ANZ66ZrdXYlpVosBILh//dfe 17caENSMR4QQx1/TTwtSaFDQQT2N29ZtN/VtJ5iZHHOlhtMsuDYrm60RHkKzQamqCk alNfHvcaMGuiw== 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 v3 1/8] regulator: dt-bindings: fcs,fan53555: Add support for RK860X Date: Thu, 6 Apr 2023 22:41:51 +0300 Message-Id: <20230406194158.963352-2-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406194158.963352-1-cristian.ciocaltea@collabora.com> References: <20230406194158.963352-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?1762458890376543741?= X-GMAIL-MSGID: =?utf-8?q?1762458890376543741?= 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 Reviewed-by: Krzysztof Kozlowski --- .../bindings/regulator/fcs,fan53555.yaml | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml b/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml index c0dbba843f70..69bae90fc4b2 100644 --- a/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml +++ b/Documentation/devicetree/bindings/regulator/fcs,fan53555.yaml @@ -14,12 +14,21 @@ allOf: properties: compatible: - enum: - - fcs,fan53555 - - fcs,fan53526 - - silergy,syr827 - - silergy,syr828 - - tcs,tcs4525 + oneOf: + - 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