Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp28901rdb; Wed, 29 Nov 2023 18:42:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFQtISybqq/MAXne3u0PkLGIxnWttvjBRv8hKdL+uOdCwjuJWBqbPwj7Pl9Q3KrdnqxChu X-Received: by 2002:a05:6358:2905:b0:16d:e648:ff1e with SMTP id y5-20020a056358290500b0016de648ff1emr14906791rwb.19.1701312165168; Wed, 29 Nov 2023 18:42:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701312165; cv=none; d=google.com; s=arc-20160816; b=sIF90C07Xqb8gLi3YLk1JZf56ZeDpM8xom0DZ9xEpEl/sL3wSavd8shOI4BgRQua7T YgBbzGRGZw3Ak029rqwRiy8uuG1OOrtpPGO48YBXhYoBKVOFR0boLa4+qkHvLZ7DV22/ 4EVbZ4yRPp39J5DqcpAy/+Nn1IxNmpAneH47u0aEGfh3J57kWFzh54/VgIKb0cdLU0if 65y7N3ZL/jIUYcDS5dUs0T0VZdjdRNXmYipK59j4VsTc2/s+WZgV6eA3PVX4Odo5JZ8q z9RIJqlo+Oq8b+CqGcPLJ4AgTI3F2VzRmbBy+ZM0Bv0j2HXK8Cpz5Un4g/JlHyqmbggg 5eRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=j238Yxooc4qTG9PLIHMfDLq47mg7/fDUNDBTLUxSb3g=; fh=gjeszuadcWfOp7KlV5rkiBrNpcZAq+C2Lp3jCBDUu9U=; b=mYTOvgyl+0Bauo4ogdUWPftFAPQgwejgUeWZE7RUjaPtIYWLTgSxdLxOY5oPRtMr1K X7BWWhvbYX2NhDQJlXfMYo3L+ADWGozOQ56R/XHQ24pYnXLfo4mAdfnkmAw+wssDtg9c LrX0Fo9ZhGR0EsBo6kpu4cmn8UUYzSeb9KW7LoWQWCYXySxPb3XxyxLakqLLazaHnwBE aTbqebiTmil+rYxun/eUF/tp80H+Drv1UJO9/2NjGS6muuzIk56WPT2JYnfTAwjIJShW W1W2FRilJEx1/AAin5p3lFUT+2FvZAFgHajj+UyHE11mWEv0ny+phQbmIx8tzSKwjscu 6coQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aX+sBUso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id n5-20020a632705000000b005a9fde46fa1si258578pgn.343.2023.11.29.18.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 18:42:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aX+sBUso; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 361B38035497; Wed, 29 Nov 2023 18:42:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344388AbjK3CmA (ORCPT + 99 others); Wed, 29 Nov 2023 21:42:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234978AbjK3Clj (ORCPT ); Wed, 29 Nov 2023 21:41:39 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4261E10F0; Wed, 29 Nov 2023 18:41:30 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AU2U8Dc028445; Thu, 30 Nov 2023 02:41:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=j238Yxooc4qTG9PLIHMfDLq47mg7/fDUNDBTLUxSb3g=; b=aX+sBUsoWs0X67I/fROjha3iT95FSaQb2p4LWrmKE6lgwUlqNKstlDcZHrXoxbmt/Pow z4tBy0BvXfR1fsXb3yhJ2N5jFhIYZy4XOgaR1OHn82oS3a80sTe/czblNByRNmFSDMzO nlTPkOdmyXVYJ34kc7SP67rKzW4Ew/sqWjrhO2onh+OKfkskyc8BJzb0hbogTMfobQ2s WaMaxwvZ63ZSyRzyby8XmEGtJzmuNsnD95tklT8wY/e8iNQ/J5HKMSwjhjfeZ2J1S7LO Vo5HJPg1fbibzkpAq2WzSwxssiSC31FxkpOUyE07s25Vol0QR5GUm+ktkLVvF9DL8xca 2Q== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3upbu58pu1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Nov 2023 02:41:27 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AU2fQTp028779 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Nov 2023 02:41:26 GMT Received: from tengfan2-gv.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 29 Nov 2023 18:41:21 -0800 From: Tengfei Fan To: , , , CC: , , , , Tengfei Fan Subject: [PATCH v5 4/4] pinctrl: qcom: sm4450: correct incorrect address offset Date: Thu, 30 Nov 2023 10:40:46 +0800 Message-ID: <20231130024046.25938-5-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231130024046.25938-1-quic_tengfan@quicinc.com> References: <20231130024046.25938-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 3u7teUg1RMyEZPP3yz-L_OuC5EpW8tA9 X-Proofpoint-GUID: 3u7teUg1RMyEZPP3yz-L_OuC5EpW8tA9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-29_21,2023-11-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 spamscore=0 clxscore=1015 impostorscore=0 mlxscore=0 priorityscore=1501 phishscore=0 adultscore=0 mlxlogscore=889 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311300018 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 18:42:40 -0800 (PST) The address offset of 0x100000 is already provided in SM4450 DTSI, so subtract 0x100000 from the offset which used by ufs and sdc. Suggested-by: Can Guo Signed-off-by: Tengfei Fan --- drivers/pinctrl/qcom/pinctrl-sm4450.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-sm4450.c b/drivers/pinctrl/qcom/pinctrl-sm4450.c index 49e2e3a7a9cb..5496f955ed2a 100644 --- a/drivers/pinctrl/qcom/pinctrl-sm4450.c +++ b/drivers/pinctrl/qcom/pinctrl-sm4450.c @@ -936,14 +936,14 @@ static const struct msm_pingroup sm4450_groups[] = { [133] = PINGROUP(133, _, phase_flag, _, _, _, _, _, _, _), [134] = PINGROUP(134, tsense_pwm1_out, tsense_pwm2_out, _, _, _, _, _, _, _), [135] = PINGROUP(135, _, phase_flag, _, _, _, _, _, _, _), - [136] = UFS_RESET(ufs_reset, 0x197000), - [137] = SDC_QDSD_PINGROUP(sdc1_rclk, 0x18c004, 0, 0), - [138] = SDC_QDSD_PINGROUP(sdc1_clk, 0x18c000, 13, 6), - [139] = SDC_QDSD_PINGROUP(sdc1_cmd, 0x18c000, 11, 3), - [140] = SDC_QDSD_PINGROUP(sdc1_data, 0x18c000, 9, 0), - [141] = SDC_QDSD_PINGROUP(sdc2_clk, 0x18f000, 14, 6), - [142] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x18f000, 11, 3), - [143] = SDC_QDSD_PINGROUP(sdc2_data, 0x18f000, 9, 0), + [136] = UFS_RESET(ufs_reset, 0x97000), + [137] = SDC_QDSD_PINGROUP(sdc1_rclk, 0x8c004, 0, 0), + [138] = SDC_QDSD_PINGROUP(sdc1_clk, 0x8c000, 13, 6), + [139] = SDC_QDSD_PINGROUP(sdc1_cmd, 0x8c000, 11, 3), + [140] = SDC_QDSD_PINGROUP(sdc1_data, 0x8c000, 9, 0), + [141] = SDC_QDSD_PINGROUP(sdc2_clk, 0x8f000, 14, 6), + [142] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x8f000, 11, 3), + [143] = SDC_QDSD_PINGROUP(sdc2_data, 0x8f000, 9, 0), }; static const struct msm_gpio_wakeirq_map sm4450_pdc_map[] = { -- 2.17.1