Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1227477ybh; Mon, 13 Jul 2020 12:42:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW7T1S5vpaMZahyMZPmQzKrALrB0vsmE3K5Ku5H7m+h2XnoCBxnk5ViOFYphivo1zZb8ot X-Received: by 2002:aa7:db06:: with SMTP id t6mr917477eds.369.1594669326860; Mon, 13 Jul 2020 12:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594669326; cv=none; d=google.com; s=arc-20160816; b=MlGmaU6nuRX9ycguHTN2Ud7rY99OvSCNoSol5t32Gt9lwxKYE/9IqkBiUF0E4QFOcY ZpPotzj1+a1UPrWQtS409rJrriScc17tEVzd+ERhY9n1pJDz3J6KjCzB/Db8fiT8A395 TaG1y3w04rEdbENFRpGNixl/jlHqi4gYRzae+twXTjIaEWhsC2SnLmh8/en2tpFn6C9R 8PFaTYRRwBRaslT9/M2SIgtpsmk1KvNi4Wwnw3infglhvS2b+i3hX2XFXB41eSdUEbgC QQzHQg8FUad7CTtBH5+4/8PlSCJRph4K62/EtLy2wT5cU7i5l91iQx1jLyNlInQDhVsy U/Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=m1cPmH+hFXrNBeuHVfceQp+ZKi7rr5KGkoahmXXlTpc=; b=OYuUBE1eA2CPyv+AukKj9hEAvbmy3HThgMO+7/UgHcqcPzxXk21Rqr2U8sTI2oUFbw u6pz5KgAIdPAxGylLbWV9lQtglvs/GOmmD5GTw7dRS53bhgMGOWs+ycMXgAKVaJbWGYQ 3koPMhw/jqtEm3dutUy15K3U6fMcPwMAyREvtUdtBMuqaKgmc4B4bFlV64L0lAxRpZdX wqbuXx4VqY/CDkrcsCfIyXOpK2jRFMPY3TGbI5elA1G34I3ULBZLYZ7tQvZzuupGeVx2 7LcTh6SR82WBXnKbobS73fU/gxvIT32wYMP+3F0UFSvQWbbBXYWvYksHME7nPpkmpTVy EVYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ArYa7GKn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si10379328edv.535.2020.07.13.12.41.42; Mon, 13 Jul 2020 12:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ArYa7GKn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726834AbgGMTi7 (ORCPT + 99 others); Mon, 13 Jul 2020 15:38:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726582AbgGMTi7 (ORCPT ); Mon, 13 Jul 2020 15:38:59 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E558C08C5DB for ; Mon, 13 Jul 2020 12:38:59 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id s189so1424886pgc.13 for ; Mon, 13 Jul 2020 12:38:59 -0700 (PDT) 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=m1cPmH+hFXrNBeuHVfceQp+ZKi7rr5KGkoahmXXlTpc=; b=ArYa7GKnxfKy/XekmLKd1+ZnWE4Eg6I4UU4+OKmmLrwXdnc56kNSOYjrPaUt099Sls u8IB1YtXiKVrsQMMYDO4jSG9wIEv4LLd08ILqh4GKk3KLAHzURA6/Zc2DR8kG6eLs4b7 BJtW5pmIahiNelrizIOnhJiEU8MIiqa2Ih3PwT3WT7o2OJl4eZCk4O4bIq8fQZspvc59 25PR4vIo6ZB3LAZCJfYoPNyA51nFnCcjwF4obr42R4BtB4F1pt6WziuffgL7XRzA5ql+ 2AArRgTqKmkuG7T+aED3DUQqWanG71c3x7PjKN4nzo3k9i496q0ugI8tW//+tEJCHRRZ J/lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=m1cPmH+hFXrNBeuHVfceQp+ZKi7rr5KGkoahmXXlTpc=; b=R076yKIrArPS0Fx8T9AA03KKHxbSy5b7Hn/7oAJQxx5W0+5+ggd5nAHFcZrG9k/SP+ yv1Ia6FdNhIwdj4g7qQ4TGcMVJLPzzmlzZvf/McrKN+eDdnmvhytEn7aq4XVxg+SKS/0 5Z+0kmQw/uXBkUZwFm454utMtfS+KJIvsIQeKRzlHCtRKevS1jnEBT/ZVZONYVPm6fO2 LaJOIxrbGTLgh9Fdptfk8E8lYUKG5LjFVavnur9REX45MSpBtB8qxvqIZY6txKG6/8eY PFt5Hr04VUd64E6GWuPnCIWSh0Gu34bPGKR8WdIEyo5X+pi8FLb4hoZefPOFbI07wrdc MF/Q== X-Gm-Message-State: AOAM533plL87AQsZWXTaSiiTc1KKIKwpfQ0XSALJYNBnIYBNqOzTV8KC AP7lEVGcAxr77DPxnXOAUX6Onw== X-Received: by 2002:a63:cf49:: with SMTP id b9mr570890pgj.31.1594669138418; Mon, 13 Jul 2020 12:38:58 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h194sm14224374pfe.201.2020.07.13.12.38.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 12:38:57 -0700 (PDT) Date: Mon, 13 Jul 2020 12:36:50 -0700 From: Bjorn Andersson To: Konrad Dybcio Cc: skrzynka@konradybcio.pl, Andy Gross , Rob Herring , Jassi Brar , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 5/8] mailbox: qcom: Add msm8994 apcs compatible Message-ID: <20200713193650.GC1218486@builder.lan> References: <20200624150107.76234-1-konradybcio@gmail.com> <20200624150107.76234-6-konradybcio@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624150107.76234-6-konradybcio@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 24 Jun 08:01 PDT 2020, Konrad Dybcio wrote: > MSM8994 has an APCS block similar to 8916, but > with a different clock driver due to the former > one having 2 clusters. > > Signed-off-by: Konrad Dybcio Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 + > drivers/mailbox/qcom-apcs-ipc-mailbox.c | 5 +++++ > 2 files changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml > index 12eff942708d..5125ca3533d2 100644 > --- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml > +++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml > @@ -18,6 +18,7 @@ properties: > enum: > - qcom,ipq8074-apcs-apps-global > - qcom,msm8916-apcs-kpss-global > + - qcom,msm8994-apcs-kpss-global > - qcom,msm8996-apcs-hmss-global > - qcom,msm8998-apcs-hmss-global > - qcom,qcs404-apcs-apps-global > diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c > index cec34f0af6ce..6d892136e0e6 100644 > --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c > +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c > @@ -41,6 +41,10 @@ static const struct qcom_apcs_ipc_data msm8916_apcs_data = { > .offset = 8, .clk_name = "qcom-apcs-msm8916-clk" > }; > > +static const struct qcom_apcs_ipc_data msm8994_apcs_data = { > + .offset = 8, .clk_name = NULL > +}; > + > static const struct qcom_apcs_ipc_data msm8996_apcs_data = { > .offset = 16, .clk_name = NULL > }; > @@ -146,6 +150,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = { > { .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data }, > { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq8074_apcs_data }, > { .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data }, > + { .compatible = "qcom,msm8994-apcs-kpss-global", .data = &msm8994_apcs_data }, > { .compatible = "qcom,msm8996-apcs-hmss-global", .data = &msm8996_apcs_data }, > { .compatible = "qcom,msm8998-apcs-hmss-global", .data = &msm8998_apcs_data }, > { .compatible = "qcom,qcs404-apcs-apps-global", .data = &msm8916_apcs_data }, > -- > 2.27.0 >