From patchwork Wed Apr 5 19:47:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 670562 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64CCBC76188 for ; Wed, 5 Apr 2023 19:47:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229533AbjDETru (ORCPT ); Wed, 5 Apr 2023 15:47:50 -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 ); 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 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 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-)