Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5834291pxb; Mon, 14 Feb 2022 08:39:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJz13pc1JuS05tgw3tUjPdezYo3/bNQrQpEx97e9IOPdsXds9MnrqPrIgL/QWuQHtdMyWgwg X-Received: by 2002:aa7:828c:: with SMTP id s12mr511805pfm.6.1644856777182; Mon, 14 Feb 2022 08:39:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644856777; cv=none; d=google.com; s=arc-20160816; b=eJBXbLy6851oDTZo3dZ4KfulD8A5Xt7aV8ugFOhyqI+3wguuQ9X3P4CjShqPbDGVD0 2L7w6AWPzsv5m2zB3cjoneY18NzNBl3qj2ysdJ373U+S0BgZaGoCjnythrKVkfSYRXXJ 8L2ufHxIKVCcoxwvU42QxDbpJ6OmExxW7Qw9Fk25bZj8c5YF8gc5uC/RMtzmg1ysqXpA GYaAq3uQ+Fwf/8OIyP2qj8tEaWszlknswh1W6QKdAqY8nehYeIUMvBk6dp3WeSy1/KW0 TwUKqcKfybf38R/EI0kM6NZxG4wyePhmL5gTpFPsU2zV5+SpBrj7ufGt2fCwzzn83alO 6mDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Iy4s+sH4IijtoXttifBEvscv0QbXaesAxYnXzr5xIco=; b=zkhpL924ucoG6jr1vmElTfC1SOZHb+eMOxI+VMnL0KBDs4T/xYOBtXKKhXY2cDU3zK pnw7yJFp7v1f+xBfVffy8cPLplpFiVxxO4UVQ79vnXY8a220RgwK4LB8N/Eik2Gpe2JL GA34+YXbhz6ic+7RgqdnCpc6EZ3kJgQkx37WqStN6f+DaPLnCv00x40Gl28aDL66jskm 0FbUHfYf7+teWbLvYX8awE7FwkuzVEHVNJuXR5gu/LLD7TluK41VzukNTwkzNF+Dq5lN 1FNvIPvl2hAu90YYUTwWv2nDa/LKdlnx+zqaHjGXWLUUFF2DGQ1XQtpsXSDdj64i/aud ybMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UiSqg5nE; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 136si170454pga.256.2022.02.14.08.39.18; Mon, 14 Feb 2022 08:39:37 -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=UiSqg5nE; 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 S242433AbiBNIuN (ORCPT + 99 others); Mon, 14 Feb 2022 03:50:13 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241133AbiBNIuM (ORCPT ); Mon, 14 Feb 2022 03:50:12 -0500 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 429745F8F1 for ; Mon, 14 Feb 2022 00:50:04 -0800 (PST) Received: by mail-pf1-x432.google.com with SMTP id i21so26590833pfd.13 for ; Mon, 14 Feb 2022 00:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Iy4s+sH4IijtoXttifBEvscv0QbXaesAxYnXzr5xIco=; b=UiSqg5nEGEYUdC8/j2+pP2pBJraqro5uN50BO1QvB2QndJyh/6BLtJ7WQz+Mx71yAp vxVo6mIt6SWHpLdFQghE81u42xhJ62dEY6+LVHnFltVzKr5JLAJC8jXRvcxDbnXoO/6r zsLLGgeSdBselyZchNtMHIwypkFXHLeVhkJSEEYnQbf42ieeKyuE99vgj2g8RCAspLx7 P1bsG8IASe9eO/6hwaegBh/VEik8sXiJPfWUp2mUZre5XFkezUF/kfNwIFIDXL8mFZX2 gUSVI3hccS4hjubpoUOmcnyd1O3owCk1SHQfSYP+jyq72N+xHdJD3Q9l7oeoY9EY2pMM /1qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Iy4s+sH4IijtoXttifBEvscv0QbXaesAxYnXzr5xIco=; b=KLb5VglxENLypZP8lsL1MGuqeN32gl+ZbNPt0cZbiOB8sykKNy6Xg+/ROY7LOEz4Hg 0vqcgbggddA8H2sof/o5ofyOFQHj9Gp8IfMp4UxE4HZoI7mwfSAZn/0eHdp7trTUn71P ZrFIP/ZIFaxZPMjCkXYeKCYSjjWYz/l/UNv/38SjwIUZ+NJccn+il43bK2bghTBaf6rY pzAeo5k1wgiq9fbGzTqc/IEp2OAjPfDNk2iLqjpWU2RgdDykOzNudwUn+yGIgYHNpFq3 YVKYho9nBpP3ZjFgbh+oU/C1aM96KCATHfrPHTexwl4JY5umsdOOWLlQIdqyYFox5GE7 TnAw== X-Gm-Message-State: AOAM531rP3dCL5n+FEIzVIBKJmkpqZlQcqxkSxLB+6TpDnoXy87/Th8S eFQX6FCwOHh1CywGDXcSB2sv X-Received: by 2002:a65:6090:: with SMTP id t16mr10730170pgu.323.1644828603709; Mon, 14 Feb 2022 00:50:03 -0800 (PST) Received: from thinkpad ([2409:4072:817:5a6f:3104:62c0:1941:5033]) by smtp.gmail.com with ESMTPSA id om1sm13688419pjb.55.2022.02.14.00.50.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 00:50:03 -0800 (PST) Date: Mon, 14 Feb 2022 14:19:57 +0530 From: Manivannan Sadhasivam To: Rohit Agarwal Cc: agross@kernel.org, bjorn.andersson@linaro.org, jassisinghbrar@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] mailbox: qcom: Add support for SDX65 APCS IPC Message-ID: <20220214084957.GH3494@thinkpad> References: <1644821755-27059-1-git-send-email-quic_rohiagar@quicinc.com> <20220214083409.GB3494@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220214083409.GB3494@thinkpad> 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,T_SCC_BODY_TEXT_LINE 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 On Mon, Feb 14, 2022 at 02:04:14PM +0530, Manivannan Sadhasivam wrote: > On Mon, Feb 14, 2022 at 12:25:55PM +0530, Rohit Agarwal wrote: > > In SDX65, the IPC bits are located in the APCS GCC block. Also, this block > > can provide clock functionality. Hence, add support for IPC with correct > > offset and name of the clock provider. > > > > Signed-off-by: Rohit Agarwal > > Reviewed-by: Manivannan Sadhasivam > > Thanks, > Mani > > > --- > > drivers/mailbox/qcom-apcs-ipc-mailbox.c | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c > > index 9325d2a..3f8612c 100644 > > --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c > > +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c > > @@ -53,6 +53,10 @@ static const struct qcom_apcs_ipc_data sdx55_apcs_data = { > > .offset = 0x1008, .clk_name = "qcom-sdx55-acps-clk" > > }; > > > > +static const struct qcom_apcs_ipc_data sdx65_apcs_data = { > > + .offset = 0x1008, .clk_name = "qcom-sdx65-acps-clk" > > +}; > > + After looking at patch 7/8, I think we should be able to reuse "qcom-sdx55-acps-clk" for SDX65. Thanks, Mani > > static const struct regmap_config apcs_regmap_config = { > > .reg_bits = 32, > > .reg_stride = 4, > > @@ -159,6 +163,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = { > > { .compatible = "qcom,sm8150-apss-shared", .data = &apps_shared_apcs_data }, > > { .compatible = "qcom,sm6115-apcs-hmss-global", .data = &msm8994_apcs_data }, > > { .compatible = "qcom,sdx55-apcs-gcc", .data = &sdx55_apcs_data }, > > + { .compatible = "qcom,sdx65-apcs-gcc", .data = &sdx65_apcs_data }, > > {} > > }; > > MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match); > > -- > > 2.7.4 > >