Message ID | 20230406194158.963352-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 b10csp1272418vqo; Thu, 6 Apr 2023 13:07:00 -0700 (PDT) X-Google-Smtp-Source: AKy350YJRNR0mex0AJyttft3fg5E1qvdn9tTT+gyE/nz6+KWsoSHQH5G2P5h8A/dFpJFhgXB6xJ0 X-Received: by 2002:a17:902:e5c7:b0:1a0:5349:6606 with SMTP id u7-20020a170902e5c700b001a053496606mr288352plf.56.1680811620209; Thu, 06 Apr 2023 13:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680811620; cv=none; d=google.com; s=arc-20160816; b=HQxycAZNWY9ICWqWOofs2IjNniuYQ1O/J9rwcupMJ7A+oP1QBT6fI6/JQza9OFlVjW juQNagUjDpBaWNojCjF62OKIbQigd/9qOXg6RuRhFGwVfIchp9ml873w4qazVsqfmHws yN6c2+wB47udBTF3pFZVkiCx8j0G6sRHgN6K9JKIpVcdtJO/a4UUMuvZBSP8EsJvNZCp Vt5wFYKvWJ25foeJCdyfRQyNlN9elCSUqCQrxqjgBXhCd8/iGm4XdtINzuDRoUB42vbs 45HxSbftn0KO7Pvdc42HZv3grnQrOgfRqugH1TRRwJ1iCSVErzefWLQZDCF0cf/peHtR PDrQ== 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=TMk7IXjVIn2Ub7nbducO+PNI/qgi43DJchN0i6uPs+4=; b=J4evXOo+UeEeB9UA5f1zlx8+UCjRkkQvcjv7biYAtsK6I4MHP66+Hi2Y51tomw4uOe h/dGy3nSlZbWoSSJW42cZHFyOlA1oXFgNUw8b1abgFs1+Jvecxtqgc8gt63xjYA1PYbD Vr5Mzj0rm31RoqRcs2/lvdbH+pCfYvCXRQnyKUw0Xx/dyS2Un6SENyKRgYKm0ZYeGdvC 3Olw4Smpow2lnVOz0edwjasRLkSyXf3aFsHildYEalBB7s5h6a1b1OT1fo21gAO2HmUp nDm7EKgkBzPowTUAg18CPYkHuaIphyOOMu6NtULCeltjhItOXgQ0czqJAfysPVeKgmZt +gZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Rb3Mr9yU; 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 m67-20020a632646000000b0051418f75564si1994634pgm.516.2023.04.06.13.06.47; Thu, 06 Apr 2023 13:07:00 -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=Rb3Mr9yU; 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 S236784AbjDFTmJ (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Thu, 6 Apr 2023 15:42:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjDFTmH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Apr 2023 15:42:07 -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 583AC94; Thu, 6 Apr 2023 12:42:05 -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 7CF0966031C6; Thu, 6 Apr 2023 20:42:03 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680810123; bh=yXXWajJ4GPqM5jvTaguIrcB7ajP3dLstwHJTYguFBkU=; h=From:To:Cc:Subject:Date:From; b=Rb3Mr9yUPJ/ymU8Agor3jSMm6xDEJK2be+Tf80RQT/jyYbUo2AnwO43/BsKN8Cuon tsbtk5X+2uIrE60/lz4hLHicrbdMlM+X2fA/FaAITAXQhw6Ne5tR1WFo2YecZSTwvA fCNyl9xLI0VMrz6UlOgxQW9hpWpQoU5O6zc35qzZqbVskJhsbGsZJixv1XcDZuQFcy SBIOoD2/XcslgOWpybTIzKdp42u6lM3dq9pW74n8Swb0XllibOwNbki8UwaDLamRd6 SFZZBymVK7JWMhtV/QlqpAHNanhuEOliM2GWaMmVhIYm/DKcTwomF+lA+JvjEfuy+B MNDv/fZl1fSBQ== 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 v3 0/8] Add support for Rockchip RK860X regulators Date: Thu, 6 Apr 2023 22:41:50 +0300 Message-Id: <20230406194158.963352-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?1762448231603444170?= X-GMAIL-MSGID: =?utf-8?q?1762458725617410282?= |
Series |
Add support for Rockchip RK860X regulators
|
|
Message
Cristian Ciocaltea
April 6, 2023, 7:41 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 quite similar to 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. Changes in v3: - Improved PATCH v2 1/8, as suggested by Krzysztof - Added Acked-by from Krzysztof in PATCH v3 1/8 - v2: https://lore.kernel.org/lkml/20230406171806.948290-1-cristian.ciocaltea@collabora.com/ Changes in v2: - Dropped the rk8601 and rk8603 entries from the device_id arrays in PATCH 8/8 and updated the bindings accordingly in PATCH 1/8, per Krzysztof's review - v1: https://lore.kernel.org/lkml/20230405194721.821536-1-cristian.ciocaltea@collabora.com/ 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 | 21 +- drivers/regulator/fan53555.c | 203 ++++++++++++++---- 2 files changed, 171 insertions(+), 53 deletions(-)
Comments
On Thu, 06 Apr 2023 22:41:50 +0300, Cristian Ciocaltea wrote: > 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 quite similar to 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. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/8] regulator: dt-bindings: fcs,fan53555: Add support for RK860X (no commit info) [2/8] regulator: fan53555: Explicitly include bits header commit: 4fb9a5060f73627303bc531ceaab1b19d0a24aef [3/8] regulator: fan53555: Fix wrong TCS_SLEW_MASK commit: c5d5b55b3c1a314137a251efc1001dfd435c6242 [4/8] regulator: fan53555: Remove unused *_SLEW_SHIFT definitions (no commit info) [5/8] regulator: fan53555: Make use of the bit macros (no commit info) [6/8] regulator: fan53555: Improve vsel_mask computation (no commit info) [7/8] regulator: fan53555: Use dev_err_probe (no commit info) [8/8] regulator: fan53555: Add support for RK860X (no commit info) All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
On Thu, 06 Apr 2023 22:41:50 +0300, Cristian Ciocaltea wrote: > 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 quite similar to 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. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/8] regulator: dt-bindings: fcs,fan53555: Add support for RK860X (no commit info) [2/8] regulator: fan53555: Explicitly include bits header commit: 4fb9a5060f73627303bc531ceaab1b19d0a24aef [3/8] regulator: fan53555: Fix wrong TCS_SLEW_MASK commit: c5d5b55b3c1a314137a251efc1001dfd435c6242 [4/8] regulator: fan53555: Remove unused *_SLEW_SHIFT definitions (no commit info) [5/8] regulator: fan53555: Make use of the bit macros (no commit info) [6/8] regulator: fan53555: Improve vsel_mask computation (no commit info) [7/8] regulator: fan53555: Use dev_err_probe (no commit info) [8/8] regulator: fan53555: Add support for RK860X (no commit info) All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark