Message ID | 20230405194721.821536-1-cristian.ciocaltea@collabora.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp552198vqo; Wed, 5 Apr 2023 12:50:49 -0700 (PDT) X-Google-Smtp-Source: AKy350bLYbvX3KoGFrw78eBfWv4TvHjasrlVbo7pLYcnelS5ZmARoYm1KCIw3GjsZVm1EjxlmzxF X-Received: by 2002:a17:906:3454:b0:933:89a1:57e6 with SMTP id d20-20020a170906345400b0093389a157e6mr4131152ejb.26.1680724248859; Wed, 05 Apr 2023 12:50:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680724248; cv=none; d=google.com; s=arc-20160816; b=i3u+64n6CfRcWBJpoUgkGuTotU77e3/OKkZDQJxdBoPCc5Twi6KmhCxtO5Hle2/A/I YRJGVAGqe9GGQtEet4IYiR67Alv8IWwMKcmA9AM0szEj2XUigRs2TaeJFcDwPEP90fah L1y7mQhPMaP1hkl9KMkXVnVy/Gi2Fe1sA2CIP24yyskVW6WyTD/wZ0OLkv9Mr5LSCBPE WwNDFOCsSJvytrDFZo7qETYIAhEP28Qm3kzsO212FNXUptE2/ZGbsjtfiJ5q7T8NXHjS OKey0vciahATWATbfWO30mQ8tILsZwA5y1/bVsNDBDW3gbxxXnmH8A+AJ2Sgv5T0gj6/ y5Wg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5tqm9poEXRKR1uRhJON9fa/W8IDSHUevjU4NJyZj5oQ=; b=Zmay39tBV6cgXW/VEXLWd8Rgnc3LV+tXOCvrVdkl7v45BTjjMUlD8TKYV6Nov4mynC GetQkjuKqPPyFPt3KyUcau7EMV0f17JqCFZ2mroU80dyuu38nBeJ8uoQh+6Xm7XxB+uf 8nVgVdqmMe4dyvSA0uMFX7vzkYAVg9f9vFPXfRi0oOjI51mlPcM/G16ZrKFEJ2bvu00c RMEY86sEY8cYlUkAR2xn1Iz+K5QirRHKTOm9w9QwwlhWFbv7YDJeUR++mYgLqb1WNT/h n1nl7u0oLrltY7xffgVVNkx10y5nnrylHI4KLKPeYkUfqeFjCyB0N/6bsR08XwP6bpOO RiVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EVnMR+Hk; 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 i19-20020a1709064fd300b009489d528d86si2884615ejw.1035.2023.04.05.12.50.24; Wed, 05 Apr 2023 12:50:48 -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=EVnMR+Hk; 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 S233132AbjDETrv (ORCPT <rfc822;lkml4gm@gmail.com> + 99 others); Wed, 5 Apr 2023 15:47:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbjDETrt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Apr 2023 15:47:49 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2DC41BCB; Wed, 5 Apr 2023 12:47:47 -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 9BEFC6602F91; Wed, 5 Apr 2023 20:47:45 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680724065; bh=/RykGtiZqqAaaPtuZI2+U3yKkHFmqAbPHjZ/4VsTVaE=; h=From:To:Cc:Subject:Date:From; b=EVnMR+HkShImuVQmi2SaQTLltQxLc1AakX7rUj7OUBRq6BwX2QABEppgQLdiQcKfq A8jlVwMDsfrOI0D+rt37Pur9Ei0iBjAY3Gpp6yXrRdjbDQLWnFD3L+6ifpxJm/7zav bUv+ep4VqnA8Yb1cBRyckrkblz6RQLNP4zxBpnYAx5jwrwv5wC3tq5KD4l/ufQZcDi WHeCdQwlLuL3w6fprLfQejyueHg25taZExIFxZ9pYR+Vv+J10RdmmgjEMJIg/baPS0 Lq/kVvUvTkDk3PIZwgI7lcOEoPotAbjjCc9nl34OBbh7IVoQAxvsER4vjI4TXA3i0n neC9lM7d94u9w== From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> To: Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de>, Bjorn Andersson <andersson@kernel.org>, Joseph Chen <chenjh@rock-chips.com>, Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel@collabora.com Subject: [PATCH 0/8] Add support for Rockchip RK860X regulators Date: Wed, 5 Apr 2023 22:47:13 +0300 Message-Id: <20230405194721.821536-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762367110153168782?= X-GMAIL-MSGID: =?utf-8?q?1762367110153168782?= |
Series |
Add support for Rockchip RK860X regulators
|
|
Message
Cristian Ciocaltea
April 5, 2023, 7:47 p.m. UTC
This patch series introduces support for the Rockchip RK860X regulators, while also providing a few fixes and improvements to the existing fan53555 driver. RK8600/RK8601 are fully compatible with the FAN53555 regulators. RK8602/RK8603 are a bit different, having a wider output voltage selection range, from 0.5 V to 1.5 V in 6.25 mV steps. They are used in the Rock 5B board to power the ARM Cortex-A76 cores and the NPU. Cristian Ciocaltea (8): regulator: dt-bindings: fcs,fan53555: Add support for RK860X regulator: fan53555: Explicitly include bits header regulator: fan53555: Fix wrong TCS_SLEW_MASK regulator: fan53555: Remove unused *_SLEW_SHIFT definitions regulator: fan53555: Make use of the bit macros regulator: fan53555: Improve vsel_mask computation regulator: fan53555: Use dev_err_probe regulator: fan53555: Add support for RK860X .../bindings/regulator/fcs,fan53555.yaml | 4 + drivers/regulator/fan53555.c | 215 ++++++++++++++---- 2 files changed, 172 insertions(+), 47 deletions(-)