From patchwork Wed Mar 27 10:17:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihai Sain X-Patchwork-Id: 13606140 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E719C47DD9 for ; Wed, 27 Mar 2024 10:18:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hFUROly55caAT9urW15LWznzOtROPUzdLDwuSqtYmUA=; b=m/hCsJje04oHmq TUbXxjHF5hmxuficolg4WOOiddBbZ58p9m28QSv12RFQMdVfCA26HQedOr5PlA01g9LsGaS5yGEV1 d1jrKeG7z2qUSfdX42/V5MvJDxMgM0LbJmiQvxAnNR0V8g9TrrzaeZn2ef8RxlUtngGd3EXtQfQ3n Gkj9AzlJkVwjvVy0Q7SyQe0ZwAT57IFroHVmjbDlN9//BKL7vbE8TYURRuti2ZlaAmDl6t0GDitIR w7zVKHRywXSM17nVCA8hHOegU5aIa4rAWy6gM26ZgEhQkrVU5Z6dOYSHPemT+4naIDIfUKIt47ydq cv/4w/tbXCQBBht6cNIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpQMd-00000008Nv2-3KPR; Wed, 27 Mar 2024 10:18:35 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpQMS-00000008NnP-3pZS for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 10:18:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1711534705; x=1743070705; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/XP+OdQeoB19J4KIQiJ/hmItC3hcLTOi4yoVWsZK9vk=; b=IQZMeB1946eE+GZzFafX195XO4I+g+iHMFXhpE6eSckL6nEZGO9qTqWt /Sdi1mzwRwcru1E2RxpN2n23CRUpExoLVhQ3FkmoOfdhvWjxks+/9XWel yzZnb3HrEvUD6MoIujs3jKECwtZlmgPQCnkGmvmarG1BddYS4CiSLI24r 96PhGFBct+Gcv2CAIYvwLxEQ+NKFFAUD1Eq47QPl8Z26bOujDJUlaEAaO 5pgcbT2+oZX0FspRsMH7kZUMwjadWPrxrfdVezIie5EXjF0DwcDHhS/kJ uLo6qiOF1wGOs28MeCzPeIzYj1Z92Zuly8XXwbh0sgiehbWtyr1CBKjhJ Q==; X-CSE-ConnectionGUID: iLwE0uHlR2GxnqPkfUjRug== X-CSE-MsgGUID: wpvBVBh6QYCffiWbDKfL+g== X-IronPort-AV: E=Sophos;i="6.07,158,1708412400"; d="scan'208";a="18904354" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 27 Mar 2024 03:18:22 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 27 Mar 2024 03:17:59 -0700 Received: from archlinux.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 27 Mar 2024 03:17:57 -0700 From: Mihai Sain To: , , , , , , , , , , , CC: Mihai Sain Subject: [PATCH 7/7] regulator: mcp16502: Update the names from buck regulators Date: Wed, 27 Mar 2024 12:17:24 +0200 Message-ID: <20240327101724.2982-8-mihai.sain@microchip.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240327101724.2982-1-mihai.sain@microchip.com> References: <20240327101724.2982-1-mihai.sain@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240327_031825_205487_968A5C7E X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use generic names for buck regulators to avoid any confusion. Update the names from buck regulators in order to match the datasheet block diagram for the buck regulators. Signed-off-by: Mihai Sain --- drivers/regulator/mcp16502.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/mcp16502.c b/drivers/regulator/mcp16502.c index 0c15a19fe83a..d6fc9f1afaef 100644 --- a/drivers/regulator/mcp16502.c +++ b/drivers/regulator/mcp16502.c @@ -468,13 +468,13 @@ static const struct linear_range b234_ranges[] = { static const struct regulator_desc mcp16502_desc[] = { /* MCP16502_REGULATOR(_name, _id, ranges, regulator_ops, ramp_table) */ - MCP16502_REGULATOR("VDD_IO", BUCK1, b1l12_ranges, mcp16502_buck_ops, + MCP16502_REGULATOR("BUCK1", BUCK1, b1l12_ranges, mcp16502_buck_ops, mcp16502_ramp_b1l12), - MCP16502_REGULATOR("VDD_DDR", BUCK2, b234_ranges, mcp16502_buck_ops, + MCP16502_REGULATOR("BUCK2", BUCK2, b234_ranges, mcp16502_buck_ops, mcp16502_ramp_b234), - MCP16502_REGULATOR("VDD_CORE", BUCK3, b234_ranges, mcp16502_buck_ops, + MCP16502_REGULATOR("BUCK3", BUCK3, b234_ranges, mcp16502_buck_ops, mcp16502_ramp_b234), - MCP16502_REGULATOR("VDD_OTHER", BUCK4, b234_ranges, mcp16502_buck_ops, + MCP16502_REGULATOR("BUCK4", BUCK4, b234_ranges, mcp16502_buck_ops, mcp16502_ramp_b234), MCP16502_REGULATOR("LDO1", LDO1, b1l12_ranges, mcp16502_ldo_ops, mcp16502_ramp_b1l12),