Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3955571pxj; Mon, 21 Jun 2021 10:09:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGGUJ1NQBMXz2siidxDhKiF0LGUR/sbAIDncsUQuKbRiiqbs1K6hSnBS+wKSjaZ60qNGl+ X-Received: by 2002:a17:906:7b83:: with SMTP id s3mr22614350ejo.190.1624295373306; Mon, 21 Jun 2021 10:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624295373; cv=none; d=google.com; s=arc-20160816; b=M3coPPEt0xC/QCb8ySEAF63Rz2LVuhS5SbciIQHtKCuHrtym02p8X4x6jYdFFDIrK4 nuSWMqY4cXxHhOQSF6vAl+9y5rdkXQhwiAIwAHFdlvXLsXXh03anCPLxNdb5AcewUhLv fGf5TpIrByGBRk7wn9i4kltloUy1RqgcboZRzjVrusZypg5aAnbPqsojtxJnFEydGBx0 RXYDkRZZmipLTUp91d8Ap0sdi60S6Ac7sFc4Ws18s/YxMEicBgvAgGijyij/fLnPQH1n p9/La9nsid82PcrSmT1ske3h6CBmGFLSe4lUBklN9guMOccs6bb4FJdpivXWnDwgdTwg /QfQ== 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 :cc:to:subject:from:date; bh=+uDmcHz37mVQU4d9pm2PEXYwpjnFr2zd4a/3VTlpxVA=; b=GH3dZ1pDoQIUwMh4j0hSX3h313FI/kqrPawtsEW6XdB4fG7gwfyXptI9obxQgLs/Aq Wk3Q/R8DkGpIMTTzUwD/9+OPeZ72NeeaE+Js98SDvMTz4AjOe6X/L6BRHo8euQomEDuI Qz/Vdz+Q4MZF32C100oyyULZmez5h7qcRvewnFfbDN+43DGnJnR24wi2XOn/rbaLv5Y0 ghw3Bw8wiUK3l1EdUdnzgtjJZq8MrKR2+wEIoavDDZSBdHs96mZuUe8I3286puLkDXVO OTf8ybwvzs8PQpixFlFdUKT/98pWzec86Ws8IBiGVCSBl40/LfSy8v7POVNh8ZGM70rV lN7w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v29si19935418eda.351.2021.06.21.10.09.11; Mon, 21 Jun 2021 10:09:33 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230486AbhFURJx (ORCPT + 99 others); Mon, 21 Jun 2021 13:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231186AbhFURJi (ORCPT ); Mon, 21 Jun 2021 13:09:38 -0400 Received: from relay04.th.seeweb.it (relay04.th.seeweb.it [IPv6:2001:4b7a:2000:18::165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35C39C0611C1 for ; Mon, 21 Jun 2021 10:02:57 -0700 (PDT) Received: from [192.168.1.101] (bband-dyn238.178-41-213.t-com.sk [178.41.213.238]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 7B8DC1F46C; Mon, 21 Jun 2021 19:02:55 +0200 (CEST) Date: Mon, 21 Jun 2021 19:02:49 +0200 From: Martin Botka Subject: Re: [PATCH V3 3/3] mailbox: qcom-apcs: Add SM6125 compatible To: Jassi Brar Cc: ~postmarketos/upstreaming@lists.sr.ht, konrad.dybcio@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, jamipkettunen@somainline.org, Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List , Rob Herring Message-Id: In-Reply-To: References: <20210612094631.89980-1-martin.botka@somainline.org> <20210612094631.89980-3-martin.botka@somainline.org> X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 20 2021 at 11:03:04 PM -0500, Jassi Brar wrote: > On Sat, Jun 12, 2021 at 4:46 AM Martin Botka > wrote: >> >> This commit adds compatible for the SM6125 SoC >> >> Signed-off-by: Martin Botka >> --- >> Changes in V2: >> None >> Changes in V3: >> Change compatible to apcs-hmss-global >> 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 f25324d03842..f24c5ad8d658 100644 >> --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c >> +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c >> @@ -57,6 +57,10 @@ static const struct qcom_apcs_ipc_data >> sdm660_apcs_data = { >> .offset = 8, .clk_name = NULL >> }; >> >> +static const struct qcom_apcs_ipc_data sm6125_apcs_data = { >> + .offset = 8, .clk_name = NULL >> +}; >> + >> static const struct qcom_apcs_ipc_data apps_shared_apcs_data = { >> .offset = 12, .clk_name = NULL >> }; >> @@ -166,6 +170,7 @@ static const struct of_device_id >> qcom_apcs_ipc_of_match[] = { >> { .compatible = "qcom,sc8180x-apss-shared", .data = >> &apps_shared_apcs_data }, >> { .compatible = "qcom,sdm660-apcs-hmss-global", .data = >> &sdm660_apcs_data }, >> { .compatible = "qcom,sdm845-apss-shared", .data = >> &apps_shared_apcs_data }, >> + { .compatible = "qcom,sm6125-apcs-hmss-global", .data = >> &sm6125_apcs_data }, >> { .compatible = "qcom,sm8150-apss-shared", .data = >> &apps_shared_apcs_data }, >> { .compatible = "qcom,sdx55-apcs-gcc", .data = >> &sdx55_apcs_data }, >> {} >> > These all are basically different names for the same controller. > The 'offset' is a configuration parameter and the 'clock', when NULL, > is basically some "always-on" clock. > I am sure we wouldn't be doing it, if the controller was third-party. > > -Jassi I'm aware that its not great to duplicate but i just followed how it was done previously. I will probably send a patch to lump the common conf together. Best Regards, Martin