From patchwork Wed Mar 15 06:42:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 70031 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2173125wrd; Tue, 14 Mar 2023 23:52:38 -0700 (PDT) X-Google-Smtp-Source: AK7set/+S/+YT+tttX01Nsa4qzHMAwB2UnhQAQnrCW/N0iV+zV68iIwVWGOZePP2yGUFKCvK+7r6 X-Received: by 2002:a17:903:647:b0:1a0:53f3:3776 with SMTP id kh7-20020a170903064700b001a053f33776mr1367502plb.62.1678863158124; Tue, 14 Mar 2023 23:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678863158; cv=none; d=google.com; s=arc-20160816; b=WR2EYpECkXAb8yvkjwMvuLS5HBYHE2quHNFXqjiPHEp0p0IiLFcGN70S/vyRbQw6Bs 3WKADPXcuqjC6mIRVKUTnl/rHXdjmX4mJ4uLMH7eNEEdPXPL891gZBTwptWShF8IL+bE 7xKXo8fWVxgHZYxMQKPJE/+v0XdnF9bpCDBbcOQMF6ZKJVlnHbTEC/BJzS0SOkbRae1t CVYl1Vs4+vo6EmMn6c3TsiPuT4rCULrkYt54/hsH37/4O3i2n8ilYkfN+bQ2FQ++BXL+ JpWt8iVTLWaaDQ4ISD1SwSPQGiTtyRB37KRHjgVuMrZccWoSlCyEy3rvAwDVVSVl0JY0 GXvw== 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=BDL8Z0WXzdhrDQHjaPmCp8jJ0lARZ8btzaglWWTdNlIceZ2EByy+owA7e/TQ9AUkFV 1utQhcgMBqJGK1ZqSrC16rmu8ksC9/rQkZ/DYq/95Tpo/nik2UBs83dkaSfUxklHX28Q YOol2YJ3a957dL4snCjfxKqVu2p6fEyIERzT8MmO4PwsT9Jc3ziFnjZcsVMxH3AN2krT IO1+5UZ8GoUFoWTSX3jdCrvQLK1MC93G1k+TAUDwc6DAE/ap1QWuwISj97VSl/eB9kxh S2m9dK95jEwUGcAhDyF0ZyRjRcdfKIo4jgQr2ITUOV9xNQJbNM7O6Q8KbZJIlw1DeJ+E VyDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cVBK2HWc; 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-20020a170903138800b0019cd71b56cbsi4257374plb.522.2023.03.14.23.52.25; Tue, 14 Mar 2023 23:52:38 -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=@linaro.org header.s=google header.b=cVBK2HWc; 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 S231367AbjCOGn7 (ORCPT + 99 others); Wed, 15 Mar 2023 02:43:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbjCOGnm (ORCPT ); Wed, 15 Mar 2023 02:43:42 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B4783647C for ; Tue, 14 Mar 2023 23:43:27 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id u3-20020a17090a450300b00239db6d7d47so858754pjg.4 for ; Tue, 14 Mar 2023 23:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678862607; 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=cVBK2HWcEVCnjtMOOtgliHcbaG865Ni4TWDC4oqxMPwEyS9sIWiN9ghwzannMJQS5f N3S3/VOlzcxP/FzueRkqDdf2gJARfAX2ecOT2wbxbkaCIVHeP7hAQL5w/vq/1lb1Pqmv BqTWGAJAQYG4AyMW7P5+uPlssx7y9xBjDWfh9wAi+6/huUCG+V1TPGMgbR0h2+ExwpXX UtLQt42gvT2TFUoBe38v30HyhGN271mF0kJu7tbzDDRQSVt2ybrqzHW/FeVllapjmMnR XzCAFcPJkY791ttOALk/SwG5cBtpY8GlV7l7JQsZ+srlDfy89SojgTXRhuPoLXJg1myL Xypg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678862607; 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=GtBAlAw2546me0vDtL43aXVlHhNa5VKNi1Fv+YQSfsn63YD5UzOeUciqzMHk0mSnb4 B6NQhEtWZrmOdrb6NS1Wtq9Iu5JanDxCpi8wUvwha0LQw968TOpS7lElOt4Is1Fz5ki9 N+jaiGbuEV9V2aib+hN6o2NZb5sQ7akwAeYq7kIpcuQ1qL3Amts741wmLigXjiFoWwz0 Jy+tfp3YDImVx89xQEstj2FANPPC5RXrtopSEI2mxDarhD4H+AXLu0YHm+P2nPEmd5gF ULms/6SxMUWTPSYJ+jwQZ6c9pshBV1ie38I66ayb0VQQUZfq8ja78bcShLwp5PSOKkdY NIbQ== X-Gm-Message-State: AO0yUKU8CIBBPkHVmLYch5E36zGICSBtNHaI68MWj8oooAuyfXIqKicx QjGC7ts5XEbsOUyboEO9aYr4 X-Received: by 2002:a17:90b:4d0a:b0:23a:87d1:9586 with SMTP id mw10-20020a17090b4d0a00b0023a87d19586mr38750833pjb.23.1678862606892; Tue, 14 Mar 2023 23:43:26 -0700 (PDT) Received: from localhost.localdomain ([117.217.182.35]) by smtp.gmail.com with ESMTPSA id u4-20020a17090a6a8400b002367325203fsm550747pjj.50.2023.03.14.23.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 23:43:26 -0700 (PDT) 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 v4 05/18] PCI: qcom: Use lower case for hex Date: Wed, 15 Mar 2023 12:12:42 +0530 Message-Id: <20230315064255.15591-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230315064255.15591-1-manivannan.sadhasivam@linaro.org> References: <20230315064255.15591-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,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760415614619520291?= X-GMAIL-MSGID: =?utf-8?q?1760415614619520291?= 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)