Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp130155lqp; Sat, 8 Jun 2024 08:58:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkz4DTLcsxuPP0blGMUErbGEY9gmE1bN3kP6CAOGuphtYBaXx4oyw0usXOB9NgKnEnZ9N07zmpYwHM16ONql7dhRVN/0YSnZ3eNJZeGQ== X-Google-Smtp-Source: AGHT+IHhl84NaEkb2tiussMLg2esQoVtm/C0YCxXMwK6vNn6nIxmkt294XPpttdKi1WWW5JlijuD X-Received: by 2002:a17:902:e751:b0:1f4:993c:362a with SMTP id d9443c01a7336-1f6d02dd98emr64441105ad.25.1717862286096; Sat, 08 Jun 2024 08:58:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717862286; cv=pass; d=google.com; s=arc-20160816; b=s5aL1h4xGJgdbUJ7GGAd++5se0TrUctEbl8gR/u92r10qsxUY7Onq3neKxizCIErpI C4gLD6cC/CsSzo6uxzuA27T00YY9k7jciGA8/C0Uq2rCKWQMbfS7rilwayZRAcY0pUbU RjRyd8pTymULW7RCwW0OBstbDR2+C1ogSW3CRBezx2C3zvf3iOaL7FvLhsNVYVG14tsv /uxJF2iMLjXelB+KpBr6TMYLMXiFb43iaqhiFW6A97TdRh+tbZlLEt3A4mzs4MH2UdXg LBi5e1aTHiZqVAbspF528MFzX1fFSnwHpz8/0H6xFmdelZW9WPiV06Z2unDRt51yX4Di HN4A== 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:dkim-signature; bh=XfCRq3o0xB5pahzGLrht938zUzMO2fjd3j7w0TNBxRw=; fh=QhgSg1Zbhg0k1Y3sexI0DeQQQskTWRSzxoSuuRe9W3s=; b=LiRcP43ZZULznZ8px0RcioY3KE9+ohlAbpLifBgGWjfSNLLNTkTiglCl7gwl2XBFQq ERItwjdLDyNcTzzrj4/UZO3R+13bZqZC+AUqKjdt5UWABuM31J8qAsP4+qNDsN11F5Ty s1Hj//Tv1OzDXAMqQEHsK+YugYGQEut8PM+MTVOYyzuA1PSzARP54LsoqOC3RyQLt/Of mknPKw9EuUrmOJxnN4Xfi3J+JE02+fJ9eQ2+dEkoewC4INLD6yHqj0QVkM56CxaxEhJo q0IulZi/n5iF/ZjKK7cKc+Xb+Q8ZIonX46KzlrFmoUbpiDj0TpsYFd6j+52EF7+o34uZ vC7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="c8Kx/67m"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207109-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207109-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7d5951si6014615ad.265.2024.06.08.08.58.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 08:58:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207109-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="c8Kx/67m"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-207109-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207109-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B06D9282E27 for ; Sat, 8 Jun 2024 15:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0337217C202; Sat, 8 Jun 2024 15:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c8Kx/67m" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0041D1791ED; Sat, 8 Jun 2024 15:57:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717862241; cv=none; b=GUq3dkrh38ARId/qAk9WwTneheu0QSK6+aC0DunO0PyEJ7Lyg4jl/jOA6QRM0gSn/bseYZTWM3gDa2g62sobR0jnd6H/EHub58xfDPr1t5K27uBTwCAiZqRuXRunWTHtGADNUHSDBO2Pov/tLP2spystcp3Kmkvpmv2QITEHED4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717862241; c=relaxed/simple; bh=ktUgF/6UawgynxPPaqC7L5uMYlNVYYch3qE9zi0eRhM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=k3ALVeOvsYOWq/jYNhqQ0X4Swj3EnK/in5tBQCLAkM32uLkBoA93ZiU/eCaAVd8R/2bx4+xkUYHgMo8naUrLyHKeUwJu09EABOIbElrYIW15eKJgotizqjwBb/DS/9NdG6rryhsnR/lFYNdTZbtuBGTLFSi431gvh/MtyXpjta0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c8Kx/67m; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 906B8C32781; Sat, 8 Jun 2024 15:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717862240; bh=ktUgF/6UawgynxPPaqC7L5uMYlNVYYch3qE9zi0eRhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c8Kx/67mQ4wUCl7rXwXfaCaLc45KWHJ4226e8gOj+s9y89rkEqJPDaCaEuBTwIFN2 TBb4koGCKrLNbytlME6SOgPocFDkm3x3RB7AkH8NLZPXHiMzu0ULFFBzmT+uzuWP2J WyVKWxGPsf7F3nwnA0rkYgydSMPnygpgoiviiz0Dl2txOj83AkwgAZBpQakn16h2Gw 9zt2Nd7XrawCKncciiuKyPcczPmWPCP2maL+mDnr1FqR1sdvvqxhBFAYBgPMZ0TTk7 eAYTBRTfmkJfZFRjaCpWVyENyu1eRCluewsQKv31FbrR4JTji/5xgSCWfAgVBgOvV7 AkkLgMbaDS+jw== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sFyRT-000000003Q1-3pE5; Sat, 08 Jun 2024 17:57:19 +0200 From: Johan Hovold To: Lee Jones , Mark Brown , Bjorn Andersson Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Liam Girdwood , Das Srinagesh , Satya Priya Kakitapalli , Linus Walleij , Stephen Boyd , Bryan O'Donoghue , Andy Shevchenko , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v3 05/12] mfd: pm8008: Use lower case hex notation Date: Sat, 8 Jun 2024 17:55:19 +0200 Message-ID: <20240608155526.12996-6-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.1 In-Reply-To: <20240608155526.12996-1-johan+linaro@kernel.org> References: <20240608155526.12996-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use lower case hex notation for consistency. Reviewed-by: Bryan O'Donoghue Reviewed-by: Stephen Boyd Signed-off-by: Johan Hovold --- drivers/mfd/qcom-pm8008.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c index ab55d524c27b..18173c7a7e7b 100644 --- a/drivers/mfd/qcom-pm8008.c +++ b/drivers/mfd/qcom-pm8008.c @@ -38,8 +38,8 @@ enum { #define PM8008_PERIPH_0_BASE 0x900 #define PM8008_PERIPH_1_BASE 0x2400 -#define PM8008_PERIPH_2_BASE 0xC000 -#define PM8008_PERIPH_3_BASE 0xC100 +#define PM8008_PERIPH_2_BASE 0xc000 +#define PM8008_PERIPH_3_BASE 0xc100 #define PM8008_TEMP_ALARM_ADDR PM8008_PERIPH_1_BASE #define PM8008_GPIO1_ADDR PM8008_PERIPH_2_BASE @@ -151,7 +151,7 @@ static const struct regmap_irq_chip pm8008_irq_chip = { static struct regmap_config qcom_mfd_regmap_cfg = { .reg_bits = 16, .val_bits = 8, - .max_register = 0xFFFF, + .max_register = 0xffff, }; static int pm8008_probe(struct i2c_client *client) -- 2.44.1