Message ID | 20230411-topic-hanaau-v2-0-fd3d70844b31@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2603163vqo; Tue, 11 Apr 2023 07:07:55 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIhxDs7JfL4M2JxzvLB0WLzPkAW5djPWWqPv30GvpcB2LWKtMNmyT75l6PD5CXXmfcLXCC X-Received: by 2002:a17:903:120b:b0:1a4:f8e7:29ed with SMTP id l11-20020a170903120b00b001a4f8e729edmr21161571plh.41.1681222074688; Tue, 11 Apr 2023 07:07:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681222074; cv=none; d=google.com; s=arc-20160816; b=CXTEd2aykGE4ow8WnpphI3xqdohsLL3Gxd2mv3AxsNlEz4N36onGjCTAEj02armO6u UVwN1qvDA8naJ6lR5XmM2o1FGPtkCboWEu0CcHacicLpf35fXDaF+9A5i4S+fSax14jQ AMxFa5AynU1TR5e3wfhJ9rhDdmoeAK5cplKJhJSkVeC7sUpyglMxlidFXrcmpQnBTV80 s5rZ9s55/yqID2F+X68oYhMzkoav9pvbpEWE2YkewZhawCzpwcfGderhxE88tJ1kbU1R NSF52jwaoXO9gqVqtpPSOhbmKTNnegJwenIYw4TH4k2jm5RSw2o/xHJ1vmuTghc0t70+ 0rcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=VpV7MNh7YkHay8Lg/z9KE+NPODSRKpQNoxPyzTQboHE=; b=s42cmMdrz4tZPUmFm3nZQlsn8QkbShDXkQ32YuvkAYln3P7gDa7UzcoPpZ3uFPElPz SDyX/qooE2Fd/N6IYQrviVn027bIpq1XrvoIwKk3SyZ306ZZK4y/hbqlshFnr0GDu1lw NKBPScV9JIuf8hcochQG5zxBmHy2Ax/TuJrUzVMyhHLUKk3SaQys75FLwxJX2LWcm2+s WxtVTaB1b5Zdh1lWHV70gjK0S9ECds04ZFvzObgIE/T8PcjWBpEdrGHZfq/hgU8wjj8K g8e4mo9ghMeYkx4dfUH0dVW1fE2hL9gfOHuutlN8kmjrcLJk2zvFx0nm9t26uRXwZVcL i8dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MuQb5oZb; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a63ef0b000000b0050bea5bf413si14305488pgh.705.2023.04.11.07.07.41; Tue, 11 Apr 2023 07:07:54 -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=MuQb5oZb; 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 S230368AbjDKNrY (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Tue, 11 Apr 2023 09:47:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbjDKNrW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 11 Apr 2023 09:47:22 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A60F11BCE for <linux-kernel@vger.kernel.org>; Tue, 11 Apr 2023 06:47:20 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id b33so4208004ljf.2 for <linux-kernel@vger.kernel.org>; Tue, 11 Apr 2023 06:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681220839; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=VpV7MNh7YkHay8Lg/z9KE+NPODSRKpQNoxPyzTQboHE=; b=MuQb5oZbdvkg838emv9dnOO3i+1b0FPsyL0hRrv38uc0L1sLq7hb0jy5V/2QhsJDGR TFmI9896NnFPgKOEiLAS9erdp/SdizrdrD+nsLJhM2fo6q9nOmnUHHahTXrbIYvrQhPO AiGl3mMt+B1Zrzj/8t7sKhPsAlMR8zYp8QHlKF76ngQKtkrM88aLVRQ4qtrLRaszwHiN isnNX52vhoJFGl4qZY64SCAelPlZceO+bSgPcQN2iUoL+PxxRFYwtfpCoJkW/QddGftq oZhPYWiKFbE3sQ0lUInUbhSHSH+pQVMu2duZzqDKT9Z8Kn4vBrr/5+aasQjngaluMOoH ruNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681220839; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VpV7MNh7YkHay8Lg/z9KE+NPODSRKpQNoxPyzTQboHE=; b=G/8Y3sGdX06g4sEUUS5RmZMtz3b6DL5vJ2rd0tuYMkbXFho9DIyE6ezMvOnvuXREFC FCDe/zYoQLJLaM9vKQn9C9IfxowdL4hywbXBV3lot7n3qeuX1wkeR6XespeGj7cfGiMG mA7/phPfGzK2nxh3qZkns2cZaum2gpP8aEeiLjdIgel8MAbMevrH8Zvi5elKiB0eD0Qs fm1I5+5rj3WHjqvaJeBUb9LJ3JUTDBrMoPGyXc+RjQBuf7eDa22//89Le2QiFKlEu4So Bw6n0m3YhHb6nPdvZoem1S6mnNNV/vRDTIJHiF9cu51v6hVDG/lPzQTvdTsZFfIy8AQG usqg== X-Gm-Message-State: AAQBX9dHdshkVLRh3OkYA8OIiOH4i3th1tRlAAd6j0Tq+JxKcqFRMN0G KUzDuFZJU/5Oiqn83YZ4pktdVw== X-Received: by 2002:a2e:90ca:0:b0:2a7:6807:2ced with SMTP id o10-20020a2e90ca000000b002a768072cedmr3056891ljg.42.1681220838906; Tue, 11 Apr 2023 06:47:18 -0700 (PDT) Received: from [192.168.1.101] (abxj23.neoplus.adsl.tpnet.pl. [83.9.3.23]) by smtp.gmail.com with ESMTPSA id c10-20020a2e680a000000b002a77583b718sm1245887lja.12.2023.04.11.06.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 06:47:18 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v2 0/3] Fix SA8155P RPMPDs Date: Tue, 11 Apr 2023 15:47:14 +0200 Message-Id: <20230411-topic-hanaau-v2-0-fd3d70844b31@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOJkNWQC/x2NQQqEMAxFryJZG9BqB2auIi7SGMeAVGlVBPHuB pfvfR7/gixJJcOvuCDJoVmXaODKAnii+BfUwRhc5ZqqrWvcllUZbSLasfVf/nAIo/cMlgTKgiF R5MmiuM+zyTXJqOf70fX3/QDNxi/ZcwAAAA== To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681220837; l=1322; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=qVng4pJR4fg7JVVEXtiVeltZoqePuiwtmcjJiT2J9yI=; b=PV9gcUzWj8EQ6ZCeInWRMxwaBmHBrO3aQeKaIs/QfoTj9dUArp4BTSp4YH84kFI3X84SLjt6uga1 6yB9F4AtBA1DOhYv2L8zUJgekKGzCoIixyXCfL8Mw5pTM9Ilc9j2 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762889118305579710?= X-GMAIL-MSGID: =?utf-8?q?1762889118305579710?= |
Series | Fix SA8155P RPMPDs | |
Message
Konrad Dybcio
April 11, 2023, 1:47 p.m. UTC
SA8155P has some kind of a faulty firmware that advertises power
domains that are actually absent (and trying to access them results
in a lockup and reboot).. This series tries to amend that.
v1 -> v2:
- Reuse 8150 indices for 8155
- As a consequence of /\, only update domains that differ in the DT
I did not pick up any tags, as things changed rather significantly.
Compile-tested only.
v1: https://lore.kernel.org/linux-arm-msm/20230214095435.2192153-1-konrad.dybcio@linaro.org/
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (3):
dt-bindings: power: qcom,rpmpd: Add SA8155P
soc: qcom: rpmhpd: Add SA8155P power domains
arm64: dts: qcom: Split out SA8155P and use correct RPMh power domains
.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 +
arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 2 +-
arch/arm64/boot/dts/qcom/sa8155p.dtsi | 40 ++++++++++++++++++++++
drivers/soc/qcom/rpmhpd.c | 16 +++++++++
include/dt-bindings/power/qcom-rpmpd.h | 9 +++++
5 files changed, 67 insertions(+), 1 deletion(-)
---
base-commit: 009795d283d1f9f043e5a4ff97d4140cde17e2d3
change-id: 20230411-topic-hanaau-459c6cbbf55c
Best regards,
Comments
On Tue, Apr 11, 2023 at 3:47 PM Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > SA8155P has some kind of a faulty firmware that advertises power > domains that are actually absent (and trying to access them results > in a lockup and reboot).. This series tries to amend that. > > v1 -> v2: > - Reuse 8150 indices for 8155 > - As a consequence of /\, only update domains that differ in the DT > > I did not pick up any tags, as things changed rather significantly. > > Compile-tested only. > > v1: https://lore.kernel.org/linux-arm-msm/20230214095435.2192153-1-konrad.dybcio@linaro.org/ > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > Konrad Dybcio (3): > dt-bindings: power: qcom,rpmpd: Add SA8155P > soc: qcom: rpmhpd: Add SA8155P power domains > arm64: dts: qcom: Split out SA8155P and use correct RPMh power domains > > .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + > arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 2 +- > arch/arm64/boot/dts/qcom/sa8155p.dtsi | 40 ++++++++++++++++++++++ > drivers/soc/qcom/rpmhpd.c | 16 +++++++++ > include/dt-bindings/power/qcom-rpmpd.h | 9 +++++ > 5 files changed, 67 insertions(+), 1 deletion(-) > --- > base-commit: 009795d283d1f9f043e5a4ff97d4140cde17e2d3 > change-id: 20230411-topic-hanaau-459c6cbbf55c > > Best regards, > -- > Konrad Dybcio <konrad.dybcio@linaro.org> > sa8155p-adp now works fine, thanks Tested-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Tue, 11 Apr 2023 15:47:14 +0200, Konrad Dybcio wrote: > SA8155P has some kind of a faulty firmware that advertises power > domains that are actually absent (and trying to access them results > in a lockup and reboot).. This series tries to amend that. > > v1 -> v2: > - Reuse 8150 indices for 8155 > - As a consequence of /\, only update domains that differ in the DT > > [...] Applied, thanks! [2/3] soc: qcom: rpmhpd: Add SA8155P power domains commit: 4a08af2f22ba3c2fb26287dc27fa07bf298acb34 Best regards,