Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp3154237rwb; Sat, 6 Aug 2022 14:06:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/GjaXlOP7y9/fe6xj7Bdjw/Ph0Lw27T9mHRLOJDCqPCpIXE+rlO9FkHdUAICx8ZYWmkwu X-Received: by 2002:a17:906:58c8:b0:6fe:91d5:18d2 with SMTP id e8-20020a17090658c800b006fe91d518d2mr9494647ejs.190.1659819979089; Sat, 06 Aug 2022 14:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659819979; cv=none; d=google.com; s=arc-20160816; b=QGdJrvZ9CVqlMG0W/7VwUm0lcVaF5QTjtYsi8SPI/7RRcOlVS6frvsU6sr9t4uYzLN 0OiX2HLhSZbCbgcUsIHW7So/vQp6Gy/MO0a1i0VcLSRCYWqwTD0brQKY16gIO0mU1b72 3YJhr2QAOmBoxuyigdhIDF96GoJNzqqbtFEZketoXqVU/5GU4dKfbqutd7l32Vz5eTHg lsfS2VbzFK61V5m7Zry3afBEjDcT9J7MuIyNnTK4+X2do0gTeeI2HDEVUJHbynCYu2B0 aNqrbW7csCMEEZNQWtx652CmwWw4sAwg3OfKyWXj4AnrxBN1gfiFEtIwn2676BUUvFy2 kQUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=+uP/G8pUlcnlOuRWgNx4UrZhwmsQF+f6tSwLwCsnVUY=; b=N31fimFP0gke3OGh8KIWadgxbrYSdsUha1ZpKdhs2WaAPx0tZTqA2ypFM5Cr4Q2aVc Gwmb7PENgj/yBQQAoG6yoTA9ktFHqAD0CNcQ0ScxvkjMEiqC5l5RKbOsJz2DNGnyjq++ CvVvfuB44dNx0IFSaGoadspGU3LPfKbdcBpBFdn+i562UD+bd8Lct3iHHOLf4hszOHew hKmmrfkyHh19wuZyh0xnSsIW1tc09Pjzg7otIEEW+2S5b4Ea06Cs9+w2P/b0c5y4/GGI pZSp66pij3YBcEhJIcGvGQkQ9zwfkWqGzGwiny5GuQWKNqhpY9a58D7TXOhadFGXtxWa 1YPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GL2IOBbZ; 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 dp16-20020a170906c15000b0072f8785a8aasi6814002ejc.273.2022.08.06.14.05.53; Sat, 06 Aug 2022 14:06:19 -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=GL2IOBbZ; 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 S232921AbiHFU5G (ORCPT + 99 others); Sat, 6 Aug 2022 16:57:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbiHFU5E (ORCPT ); Sat, 6 Aug 2022 16:57:04 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E84051180F for ; Sat, 6 Aug 2022 13:57:02 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id u1so7766584lfq.4 for ; Sat, 06 Aug 2022 13:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=+uP/G8pUlcnlOuRWgNx4UrZhwmsQF+f6tSwLwCsnVUY=; b=GL2IOBbZQUuBa6AuZkN6AZTAq/G+kLxYJTHyIMV5CaePKtKNcfQqQp9N3m9oHJ4e4A eEi9q0DLHLQOaQp4H1im/EGKJcKfIuWsRdGSKUxeC2EBnl/9ODLnZ5P5je15SHYeIcmo b083p9tY0C0WO1XxVTV8Hw+ZffoY8X7gC/OqLt9vxXFXHyEkXaqBBo0CfD6wgavk+EIT 3Uh4f9X5/T112+dfTN5ePerG4DVnhkWzAIOn13a5Tr1shKSGl42Ttdqw5q3fY6fHC7sD oYpi9guj4egqk8O028RwJIRp7UjwdE3uVYqLHLwgI2+8a1YCQ1EA0g4C4LVn3KrsdIWn lapw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=+uP/G8pUlcnlOuRWgNx4UrZhwmsQF+f6tSwLwCsnVUY=; b=tzelBcv9XeF9SUgeJycb8r1nXjwtquaqV1myA2unWRzS8wJGUMLz9N0cG9oVIhUJhr 00hXCU3GdIP7myaYQF+38zAS59AMhl2x+aSuBtstqAHrPSI7S8qFtA5B4rNDI01Z6lwP iESc6sRdNGgf3XbuJVC5PZ/+MTpdVqkoyD/4qqakuYiCZv0KDHLOC6aGUKEYoB38cFrH Sdv+v1mMVVIh8UVE5P6XI/EwJsHg4AuyY90yU47sqkB8vGjgqmFB1inYEy0lRK/kITRL OEqdkaElg1a4maB6U5dFFeDSvHjgkGl9cO4qZpdVQwyAmPCqhIbu6j5RPH5P6CC60qD0 Nuxg== X-Gm-Message-State: ACgBeo2Qg5fqjLnHLvWSCbsmykhcXidLbg/k/VWvikk+fXWf4qvVDfcQ YGHGVp5ewxC7Ric4qw+hABZeLQ== X-Received: by 2002:a05:6512:159e:b0:48b:239e:c9 with SMTP id bp30-20020a056512159e00b0048b239e00c9mr3805721lfb.621.1659819421275; Sat, 06 Aug 2022 13:57:01 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id c5-20020ac25f65000000b0048b572e721asm518527lfc.107.2022.08.06.13.57.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Aug 2022 13:57:00 -0700 (PDT) Message-ID: <6327ba5b-f3a9-7390-0456-67ba5ffde0b6@linaro.org> Date: Sat, 6 Aug 2022 23:57:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 3/8] remoteproc: qcom: Add compatible name for SC7280 ADSP Content-Language: en-GB To: Srinivasa Rao Mandadapu , linux-remoteproc@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, quic_plai@quicinc.com, bgoswami@quicinc.com, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, quic_rohkumar@quicinc.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, judyhsiao@chromium.org, devicetree@vger.kernel.org References: <1659536480-5176-1-git-send-email-quic_srivasam@quicinc.com> <1659536480-5176-4-git-send-email-quic_srivasam@quicinc.com> From: Dmitry Baryshkov In-Reply-To: <1659536480-5176-4-git-send-email-quic_srivasam@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 03/08/2022 17:21, Srinivasa Rao Mandadapu wrote: > Update adsp pil data and compatible name for loading ADSP > binary on SC7280 based platforms. > > Signed-off-by: Srinivasa Rao Mandadapu > --- > drivers/remoteproc/qcom_q6v5_adsp.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/drivers/remoteproc/qcom_q6v5_adsp.c b/drivers/remoteproc/qcom_q6v5_adsp.c > index 2f3b9f5..bb4494c 100644 > --- a/drivers/remoteproc/qcom_q6v5_adsp.c > +++ b/drivers/remoteproc/qcom_q6v5_adsp.c > @@ -697,6 +697,24 @@ static const struct adsp_pil_data adsp_resource_init = { > }, > }; > > +static const struct adsp_pil_data adsp_sc7280_resource_init = { > + .crash_reason_smem = 423, > + .firmware_name = "adsp.mbn", > + .load_state = "adsp", > + .ssr_name = "lpass", > + .sysmon_name = "adsp", > + .ssctl_id = 0x14, > + .is_wpss = false, > + .auto_boot = true, > + .clk_ids = (const char*[]) { > + "gcc_cfg_noc_lpass", NULL The clock is not mentioned in dt bindings. > + }, > + .num_clks = 1, > + .proxy_pd_names = (const char*[]) { > + NULL > + }, Is the empty array necessary? > +}; > + > static const struct adsp_pil_data cdsp_resource_init = { > .crash_reason_smem = 601, > .firmware_name = "cdsp.mdt", > @@ -737,6 +755,7 @@ static const struct of_device_id adsp_of_match[] = { > { .compatible = "qcom,qcs404-cdsp-pil", .data = &cdsp_resource_init }, > { .compatible = "qcom,sc7280-wpss-pil", .data = &wpss_resource_init }, > { .compatible = "qcom,sdm845-adsp-pil", .data = &adsp_resource_init }, > + { .compatible = "qcom,sc7280-adsp-pil", .data = &adsp_sc7280_resource_init }, > { }, > }; > MODULE_DEVICE_TABLE(of, adsp_of_match); -- With best wishes Dmitry