From patchwork Thu Mar 9 08:50:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 66721 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp181655wrd; Thu, 9 Mar 2023 01:07:06 -0800 (PST) X-Google-Smtp-Source: AK7set/q9dIEvbNtKFQvEEDanClkdPKER0Y51Au1IElL0xrB6s1iMskiAB3ZYCN9BRoAa9MqN9rl X-Received: by 2002:a17:903:124c:b0:19e:b2ed:6fe1 with SMTP id u12-20020a170903124c00b0019eb2ed6fe1mr19212567plh.11.1678352826328; Thu, 09 Mar 2023 01:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678352826; cv=none; d=google.com; s=arc-20160816; b=MPYlEgcSpuWClaRBIEdvp5FOX/G825rQpyejx9S+3B3u+Jiu0FDh1pzo9SpcZsXouD em5smTYTA6ao3BETW5LTeB9xK/rklWQsnid7ezm+nn5tF5LyQO1OMqXUKwgHiIzS5nij tmVIaGjXYYdFansOXQYmeuHy/yoC0qcS84U36e5VJCLGzOL8rx0mzpehWBIWt7JwAN4L tfgAqDph+lb/1vuticHit3d7hlCh1U34wtfFni3zx4h7EJfoRRx+zkFAEn8cGClFMShb +VWoe2b1azqhBQF+ujdcRBU8/a6IHfA12kWlbOPavVpfoh+Fhc8E658P8BfNoP0c5VAb BpWA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hS/BEmRpdBxk7z2vn4cP+VagM+gkHpiXxJLmHI41D7s=; b=PwxrHeJcOwKI3y99JA7eY+c5KA2d2Sca+o5Q65aNENgYBvcburJbY3g+yn2HrN0Bn/ LIP/wPKOm4bBQGDg/zCTs67RY8XpYgawfqohAwK2OvPon3SsBRL4B79U0GAfC9u77pHh /LA2hCJjt+6O+a+U+YQfTc7TkY/leKnpIWNDBk8QQSaqz545fhr4Jctxp62ImSqYA96R lXogOBafXt0VK4ECBUe8dJXH7/5vwem1J5wrI5OhEETfmIHZywAftHiYC/pvwl7E4Q4a QKd1OPJ9njBm1eUnCMRP3D00x2XK8MlGk7NNhvqaEWnIywVEOHrcgxB93ZMyitSYr/8U /x5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QUXR2lej; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx8-20020a170903138800b0019cd71b56cbsi15352490plb.522.2023.03.09.01.06.53; Thu, 09 Mar 2023 01:07:06 -0800 (PST) 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=@linaro.org header.s=google header.b=QUXR2lej; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230352AbjCIIvw (ORCPT + 99 others); Thu, 9 Mar 2023 03:51:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230377AbjCIIvo (ORCPT ); Thu, 9 Mar 2023 03:51:44 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCFBBDDB14 for ; Thu, 9 Mar 2023 00:51:36 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id y11so1284912plg.1 for ; Thu, 09 Mar 2023 00:51:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678351896; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hS/BEmRpdBxk7z2vn4cP+VagM+gkHpiXxJLmHI41D7s=; b=QUXR2lejc4jtRZY3bLaRp6RWYSQF+j2QVRM5ZAChQfdXnfGt2VDqoUhWCmVTcIDLrr 8D/Ep48HCWW0QUtCivNiB78o68wvcuNiv8w12PM+zVdi7APRbWe3U6eawZ7Eb04j5cRi VXo9rOkk5jZlnBZrkxc4ZYRdLafkUTNJrSR/EljWQ1ekBElocxQoU0XbeB7RvGiJSNSg +WdJADeRNn+WbDD9WDNaeQUMUfE8kSO9HsB9XVBqJ//6j2t44HQ7okYbrDxS9OYWHT9K OBrtWLgf2Z1MFfadwN3AinUscbYoq10BFzPn90FaOABbN+0pugx+bqtaIyo9r5J/R86k B7NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678351896; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hS/BEmRpdBxk7z2vn4cP+VagM+gkHpiXxJLmHI41D7s=; b=GIz4qyWKVc04C8crBsW2ZPuMnXzRHU23ZDdDDfct2HSHYMPQF6/wrPVKEzDFvn1sFE 3DGOx2gRzPfFDTZ+ADyrEhNJy/6Xwwup2y4603DqdNKWxVqHb7iS9orgRtfYt04Q/qbc Kie9zCyc7xYDGFkg+0XDbAa5EAoGHGRT5DL6qpQOwXwRWYbUMhgcH1jNE+XVVPjtDb5y 4UfyFfGq8hR5B0d6zHOsNKAmm+00r7l7OlYkbOk20jcto2UaLViuLsGgPva9xHtmf5d3 Kk91lPSozxoqOhuKQPxynlUKq1dyf8nezIzJnqovedNRzwBT5PgF+tnuyU1ZAzxMVhUL GCEg== X-Gm-Message-State: AO0yUKUAfXSU65PYVJewnmsxT4ZMjWgPniZiqDvC1bXDkml58WOVBE4R dGQiGV+NhXgvSM228d5n09zA X-Received: by 2002:a05:6a20:918c:b0:cc:f214:2f33 with SMTP id v12-20020a056a20918c00b000ccf2142f33mr21489702pzd.24.1678351896448; Thu, 09 Mar 2023 00:51:36 -0800 (PST) Received: from localhost.localdomain ([220.158.158.11]) by smtp.gmail.com with ESMTPSA id u4-20020aa78484000000b005809d382016sm10638604pfn.74.2023.03.09.00.51.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 00:51:36 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, lpieralisi@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, quic_srichara@quicinc.com, Manivannan Sadhasivam Subject: [PATCH v2 05/17] PCI: qcom: Use lower case for hex Date: Thu, 9 Mar 2023 14:20:50 +0530 Message-Id: <20230309085102.120977-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230309085102.120977-1-manivannan.sadhasivam@linaro.org> References: <20230309085102.120977-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759880492785878998?= X-GMAIL-MSGID: =?utf-8?q?1759880492785878998?= To maintain uniformity, let's use lower case for representing hexadecimal numbers. Signed-off-by: Manivannan Sadhasivam --- drivers/pci/controller/dwc/pcie-qcom.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 926a531fda3a..4179ac973147 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -39,17 +39,17 @@ #define PARF_PCS_DEEMPH 0x34 #define PARF_PCS_SWING 0x38 #define PARF_PHY_CTRL 0x40 -#define PARF_PHY_REFCLK 0x4C +#define PARF_PHY_REFCLK 0x4c #define PARF_CONFIG_BITS 0x50 #define PARF_DBI_BASE_ADDR 0x168 -#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3 0x16C /* Register offset specific to IP ver 2.3.3 */ +#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3 0x16c /* Register offset specific to IP ver 2.3.3 */ #define PARF_MHI_CLOCK_RESET_CTRL 0x174 #define PARF_AXI_MSTR_WR_ADDR_HALT 0x178 -#define PARF_AXI_MSTR_WR_ADDR_HALT_V2 0x1A8 -#define PARF_Q2A_FLUSH 0x1AC -#define PARF_LTSSM 0x1B0 +#define PARF_AXI_MSTR_WR_ADDR_HALT_V2 0x1a8 +#define PARF_Q2A_FLUSH 0x1ac +#define PARF_LTSSM 0x1b0 #define PARF_SID_OFFSET 0x234 -#define PARF_BDF_TRANSLATE_CFG 0x24C +#define PARF_BDF_TRANSLATE_CFG 0x24c #define PARF_SLV_ADDR_SPACE_SIZE 0x358 #define PARF_DEVICE_TYPE 0x1000 #define PARF_BDF_TO_SID_TABLE_N 0x2000 @@ -60,7 +60,7 @@ /* DBI registers */ #define AXI_MSTR_RESP_COMP_CTRL0 0x818 #define AXI_MSTR_RESP_COMP_CTRL1 0x81c -#define MISC_CONTROL_1_REG 0x8BC +#define MISC_CONTROL_1_REG 0x8bc /* PARF_SYS_CTRL register fields */ #define MAC_PHY_POWERDOWN_IN_P2_D_MUX_EN BIT(29)