Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp411624lqk; Sat, 9 Mar 2024 17:03:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXhkajS/LspYMwYH4U96dLqZX+mMGFLh+t4gGZjwQcSol7VSVT7p4uAv9paFDlJEWzkoVIdJ/vj24v1wFEMxcjyQUg87c+BkeWnPt7fPg== X-Google-Smtp-Source: AGHT+IH8VJq/E9txx9HYp8MggS6D+fYuOhnGCJTmh/2EKGBV3YCgpMc0IEuGc5V+Z21shyrrNXDE X-Received: by 2002:a17:907:a093:b0:a45:54f3:b44d with SMTP id hu19-20020a170907a09300b00a4554f3b44dmr1847904ejc.8.1710032579895; Sat, 09 Mar 2024 17:02:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710032579; cv=pass; d=google.com; s=arc-20160816; b=o4pGePncgKOgiYOb/isA2j7QAn6ewYkdBsSejZynB0LmomR1oFLgiI0i55wimIcnU4 9UBsBkbpOSS6vJSLlHBJ+hhhIqIgxuWpZoxfShfqfdozApLDT9rH8RYMmrplYe1Kd/cp c8GQe2ce/w0o3uQABG1/qgXFYw904mgZWT0exCKboixUNW2maCeMtUe+FEIn+QLNULle mMpvBW+aKahjWJ0GrI4icMhbfxOPFsG/uX2cFV3dk1/NwjnVKQWUbWuGmMfD7a48mciQ yfSDFY1lJYhurzvGTTiDTpDmeMmKEdM9mVKfpO2V0CVJDn6YCs+WvwFI4I5tImj+2iuP tbpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=DbZoAIp+05GZsEIxSwKqzIS5L+VjX8bcoAcJeIASTro=; fh=RY8Hw7PSqoU961dTv25OEaemdjilVpvCIy8/OfleiDQ=; b=xbkscQ1m0QZkfA/Sixmb+1kmxTOSrSXDDUyKkVwthQtPgXAr/uoHtEMO61FIgg11Vh D+nlD+MLr7I41V0LglkY6yvFYjRbT3rsgBk1tFeGHfR6WGBPJEZVCaN47meoPJHVNm7B lQqxR6tHoEeKeYjqs3ml3AD2GDBuKjvWI4XKKAQ9MRjlXOcTyENCN1qknHqf5CtPgRWm 33qcIDr5UMwp5Epjk64v69S7JhtELKhgbjgQqtJXE0FXOhI/cVq5P3cfYL+M3wtLxYRe Q5V8mzS93abDuAO2DrlWsr1xWfTtR7md7Gz5mMD92mO0P6hWExkOuhGC+wkg4RB/b7dT Lf5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-98066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id pj25-20020a170906d79900b00a4619d81b86si212238ejb.819.2024.03.09.17.02.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 17:02:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-98066-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9F7871F21450 for ; Sun, 10 Mar 2024 01:02:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E488223C6; Sun, 10 Mar 2024 01:02:41 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70A97A40; Sun, 10 Mar 2024 01:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710032561; cv=none; b=iY5kFbkQJ18wbzOzkX/zxHeGG0V7Rj15RxXq8ofIB36WcJW8rqmBJedw04uLNa5XWdWkKN6BjIsRZDlrsuJziP85iiW5S7U4AT1KJTPCL+SohA9keF6UT+4b43kwILE+b4XpAUaHnGSZyT5BT8evE5hRPoWRNkTd87Un3P80Ep8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710032561; c=relaxed/simple; bh=5O7AQF5CDHALvPbHjXmI3faWolFoR0At0TyxYjrJeeY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=q25BAgEWaobtbj1IJAtBmFFQTOwH8jJAxZp0IhcdVTutFF9kIAXMEiDVJpfIyavxRP7le1VtxSuNTic0EaPjkoJHV1/4t+AsVS5c6pVV/RFkt/ixdwngx6zTNLoE5CdElsrZiAI+ln9JucZm+Kd6VCcqv8bd8UZ775RJH7DDdVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 79DFE1480; Sat, 9 Mar 2024 17:03:09 -0800 (PST) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8D5613F73F; Sat, 9 Mar 2024 17:02:31 -0800 (PST) From: Andre Przywara To: Liam Girdwood , Mark Brown , Chen-Yu Tsai , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: devicetree@vger.kernel.org, Samuel Holland , Jernej Skrabec , Chris Morgan , linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH 1/4] regulator: axp20x: fix typo-ed identifier Date: Sun, 10 Mar 2024 01:02:08 +0000 Message-Id: <20240310010211.28653-2-andre.przywara@arm.com> X-Mailer: git-send-email 2.35.8 In-Reply-To: <20240310010211.28653-1-andre.przywara@arm.com> References: <20240310010211.28653-1-andre.przywara@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The registers to set the X-Powers AXP313 regulators are of course "CONTROL" registers, not "CONRTOL" ones. Fix the typo in the header file and in its users. No functional change. Signed-off-by: Andre Przywara --- drivers/regulator/axp20x-regulator.c | 10 +++++----- include/linux/mfd/axp20x.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c index c657820b0bbb5..7bcc2d508b65a 100644 --- a/drivers/regulator/axp20x-regulator.c +++ b/drivers/regulator/axp20x-regulator.c @@ -733,21 +733,21 @@ static const struct linear_range axp313a_dcdc3_ranges[] = { static const struct regulator_desc axp313a_regulators[] = { AXP_DESC_RANGES(AXP313A, DCDC1, "dcdc1", "vin1", axp313a_dcdc1_ranges, AXP313A_DCDC1_NUM_VOLTAGES, - AXP313A_DCDC1_CONRTOL, AXP313A_DCDC_V_OUT_MASK, + AXP313A_DCDC1_CONTROL, AXP313A_DCDC_V_OUT_MASK, AXP313A_OUTPUT_CONTROL, BIT(0)), AXP_DESC_RANGES(AXP313A, DCDC2, "dcdc2", "vin2", axp313a_dcdc2_ranges, AXP313A_DCDC23_NUM_VOLTAGES, - AXP313A_DCDC2_CONRTOL, AXP313A_DCDC_V_OUT_MASK, + AXP313A_DCDC2_CONTROL, AXP313A_DCDC_V_OUT_MASK, AXP313A_OUTPUT_CONTROL, BIT(1)), AXP_DESC_RANGES(AXP313A, DCDC3, "dcdc3", "vin3", axp313a_dcdc3_ranges, AXP313A_DCDC23_NUM_VOLTAGES, - AXP313A_DCDC3_CONRTOL, AXP313A_DCDC_V_OUT_MASK, + AXP313A_DCDC3_CONTROL, AXP313A_DCDC_V_OUT_MASK, AXP313A_OUTPUT_CONTROL, BIT(2)), AXP_DESC(AXP313A, ALDO1, "aldo1", "vin1", 500, 3500, 100, - AXP313A_ALDO1_CONRTOL, AXP313A_LDO_V_OUT_MASK, + AXP313A_ALDO1_CONTROL, AXP313A_LDO_V_OUT_MASK, AXP313A_OUTPUT_CONTROL, BIT(3)), AXP_DESC(AXP313A, DLDO1, "dldo1", "vin1", 500, 3500, 100, - AXP313A_DLDO1_CONRTOL, AXP313A_LDO_V_OUT_MASK, + AXP313A_DLDO1_CONTROL, AXP313A_LDO_V_OUT_MASK, AXP313A_OUTPUT_CONTROL, BIT(4)), AXP_DESC_FIXED(AXP313A, RTC_LDO, "rtc-ldo", "vin1", 1800), }; diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h index f1755163dd9f1..9b2b7ac2107f4 100644 --- a/include/linux/mfd/axp20x.h +++ b/include/linux/mfd/axp20x.h @@ -104,11 +104,11 @@ enum axp20x_variants { #define AXP313A_ON_INDICATE 0x00 #define AXP313A_OUTPUT_CONTROL 0x10 -#define AXP313A_DCDC1_CONRTOL 0x13 -#define AXP313A_DCDC2_CONRTOL 0x14 -#define AXP313A_DCDC3_CONRTOL 0x15 -#define AXP313A_ALDO1_CONRTOL 0x16 -#define AXP313A_DLDO1_CONRTOL 0x17 +#define AXP313A_DCDC1_CONTROL 0x13 +#define AXP313A_DCDC2_CONTROL 0x14 +#define AXP313A_DCDC3_CONTROL 0x15 +#define AXP313A_ALDO1_CONTROL 0x16 +#define AXP313A_DLDO1_CONTROL 0x17 #define AXP313A_SHUTDOWN_CTRL 0x1a #define AXP313A_IRQ_EN 0x20 #define AXP313A_IRQ_STATE 0x21 -- 2.35.8