From patchwork Mon Apr 25 18:51:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Skladowski X-Patchwork-Id: 565834 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4A0CC4332F for ; Mon, 25 Apr 2022 18:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244686AbiDYS4R (ORCPT ); Mon, 25 Apr 2022 14:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244683AbiDYS4Q (ORCPT ); Mon, 25 Apr 2022 14:56:16 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 599B8B7C62; Mon, 25 Apr 2022 11:53:11 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id g19so27876779lfv.2; Mon, 25 Apr 2022 11:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N+fC4tIw9/ys7TcIy0WZlZ78Vh7fLcIzflyXEOhgB6Y=; b=GsOMMIUrqiLQJvz5OznDyW8MRUrCZnp9s/6KzP6JH5rl/E6bRGFUlj8e8yVP4MrxXQ d/NF6FwJssHuIVHYM93YNdQ+MnH1dkOcUBP1BZpTzajzYEWGvJT2gu8lUHZtaQYp/yCF ij0EMOvXadyv8BV7uN8/qU/3xm/g+0/ggGCMHYwUTjdwT2s4V8wuUvz68Zt8xF2bEhVf YW5mHoY2hMYSD5IUUxtfeYUXS+QL1FtG8rtwmjQF4odeHxfTdFpL6j4F0apftqXQMO0V xoqpnbvUIyvtvHOZA2456UK45tSsdxGwUiDEe013tSBWR/LGhB6nYG93I0fXgItOcQcP HZFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N+fC4tIw9/ys7TcIy0WZlZ78Vh7fLcIzflyXEOhgB6Y=; b=EC+APxvUS6axqbwLtJzakoWSZQyyws5TkkE7Y1S5sEvPDv9rbxNgjgcGShW06a4q3h L4Ckykdj+CtACAe6PTVCbhip3YHsgNaDeLGQNcervGjhdAuiUzNEUIUxUN/r05Nh+GPa 3HKtWcLPY4xOgHFaJJLfUra9xM26owUJ3Q895zQ3+krt1l2QLXtlsralV9yHLQvHtkjG mplUYeP62ISTL4q3TUNZfHTXJaLwid638DPc43CzTywLCGOPmvpNRnhO4vnMhf3mPpoy tVrPqt+erskWWIW6VKZNxT0Q62sfVqabsmkjXUnm/hYojlcOuq8KCd43xakeWxsxVJ/e q9JQ== X-Gm-Message-State: AOAM532q6AeK8M+32UMuVmxCkEh0ooMunqOX0DTSK3OMonWOt/uHKEEd zOt/3ASNJ9WM7Kr2gZR9ccGd/Oi0i/paSQ== X-Google-Smtp-Source: ABdhPJwoEwSO53wZ2hL7cbcL5YhMZfx3ScOq7v1kwWcZL+8NCuipiD7CX8GC5zFr6eJUDxiRGcZz/g== X-Received: by 2002:a05:6512:31c6:b0:471:a1f2:91cb with SMTP id j6-20020a05651231c600b00471a1f291cbmr14810405lfe.364.1650912789541; Mon, 25 Apr 2022 11:53:09 -0700 (PDT) Received: from localhost.localdomain (adla4.neoplus.adsl.tpnet.pl. [79.185.4.4]) by smtp.gmail.com with ESMTPSA id r20-20020ac25f94000000b00471fcf5b4basm913135lfe.90.2022.04.25.11.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 11:53:09 -0700 (PDT) From: Adam Skladowski To: phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Adam Skladowski , Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/3] clk: qcom: gcc-msm8976:Add modem reset Date: Mon, 25 Apr 2022 20:51:40 +0200 Message-Id: <20220425185140.15154-4-a39.skl@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220425185140.15154-1-a39.skl@gmail.com> References: <20220425185140.15154-1-a39.skl@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add modem reset, it will be needed during modem bringup. Signed-off-by: Adam Skladowski --- drivers/clk/qcom/gcc-msm8976.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/gcc-msm8976.c b/drivers/clk/qcom/gcc-msm8976.c index 5781a7bcecc6..6b112984694c 100644 --- a/drivers/clk/qcom/gcc-msm8976.c +++ b/drivers/clk/qcom/gcc-msm8976.c @@ -4056,6 +4056,7 @@ static const struct qcom_reset_map gcc_msm8976_resets[] = { [RST_CAMSS_CSI_VFE1_BCR] = { 0x58070 }, [RST_CAMSS_VFE1_BCR] = { 0x5807c }, [RST_CAMSS_CPP_BCR] = { 0x58080 }, + [RST_MSS_BCR] = { 0x71000 }, }; static struct gdsc *gcc_msm8976_gdscs[] = {