From patchwork Tue Dec 13 19:10:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32935 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp312759wrn; Tue, 13 Dec 2022 11:12:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf457/gWRjA20ZdOyNhIeC8WQf+8WWDWUkj4p6UuRJs+rPfLAk3avId/HsG47SGjrdPExP8z X-Received: by 2002:a17:90a:eb0e:b0:21a:67f:5d34 with SMTP id j14-20020a17090aeb0e00b0021a067f5d34mr21515688pjz.16.1670958764955; Tue, 13 Dec 2022 11:12:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670958764; cv=none; d=google.com; s=arc-20160816; b=VNP2k9gyPJ0cVKgRWvRLK3F0KBy9CZYuNo3QuaPgQioD0A/+9BDK5US3DzSP5tl5E4 jbE2Jds3DfeC3taETQi7dIBWmGSiuejKHK2pqE9nVKR5MIkJHka86qk0mF/rGvj4vCeD LDTBe1/PU3GVM8SPbWq625o5wF3pUvvjfoEX916VbHI0MnBtyVuUrdduOBy8aPBFInHX jBNDlNu3O2X6IEYtQF+/MN98Yzmc01mOhf6Ft2L8LFV1SDOEbIik8m782I29KKDIVHBZ zUy42y/dkp+FlR91/Nv+DBQnaFX31HbxEdtzpwOtRS21StbW7bLuVRxCFc8480OSrBRq fbLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Vk8myMSZixEpFm7TSq22NpEC9ZPyK1WEgfZ1nKeoUI0=; b=ml2RXbelPEa6X9V3hm7JIJ1Qlwwx21YbdvR98KvwPO3RFq+IHp7W8BIRRPPNTBPl2x giX0V/Q/KXFhFdWMwtPai2YqJGUfRbd/P6MtkS5wfzJSZYI6c1xOChk59FYi254GoEfX iAhlgn0n+1J70Rsk6HELKudrQevfWIeDeZaXePw/geyDplzoZLY1WR2pPzGWf9VGdodB BEwNeN4ORIha9MffpcUFMTNoUvwOTTBJXp0fb8deKmELJLUPaCbA2c09CCkPwjs1c+HR rXPLGRKRVhFpDmmr7YbxPWjV+8B1L8qi+EMYUQ8iNc0h5Ohvhk0AcGquZkF0uQLRivCD 46UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LBivIO/x"; 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 p9-20020a17090a748900b00218a37dc58dsi12354971pjk.27.2022.12.13.11.12.31; Tue, 13 Dec 2022 11:12:44 -0800 (PST) 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="LBivIO/x"; 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 S235762AbiLMTLU (ORCPT + 99 others); Tue, 13 Dec 2022 14:11:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236720AbiLMTKu (ORCPT ); Tue, 13 Dec 2022 14:10:50 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DC6925C44 for ; Tue, 13 Dec 2022 11:10:49 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id y4so4348929ljc.9 for ; Tue, 13 Dec 2022 11:10:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Vk8myMSZixEpFm7TSq22NpEC9ZPyK1WEgfZ1nKeoUI0=; b=LBivIO/xpTg0SgheLpW6nkV0gFksPw2fYej+MmIKLvy1qqUqyQxJeJrWIpSMQvex+0 Um5DNqhVlKdLwfzxrh8PitybZB4WQzP9/fD+8pIpJaJxV4fK1u3ZDJyVv18FKLYSx064 QYbslSZq7/aGYdTh20Xmuc/Rzy+JMNWAx8ZeWGkBfzKT5rrbP0e8tzwJzO+/ScHvNQSc Z4XnHtvkJOBuAIt3GHC1Ukp9wzyM5DR0QtJxFW+R0rNxS7kTcX1/jyCXsSPp5eEgAgd/ knV7bux63l3QrXMuzzkS2Gm+FEqGOH2KsCCWwMlfEW+jLbThpu4M65pD2QY+Mg2OBlut aFXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Vk8myMSZixEpFm7TSq22NpEC9ZPyK1WEgfZ1nKeoUI0=; b=pq5+ZbPKQmfpU4WN3ngdRpT/0XIuGR3DnEBGnPkXrX3B4H6NDCd/N03E2I1XWIsdRL butSZOjIHCPBYN8QCRc/mrHJ3JxlDEeSoOjt76KpEEJ+bYjyj8GGzt7MKNI8jNOTMjnK ggMnz7lhw4GgFJjhwl68DYyu5cmUK0J3xBYmtP5xb2ibW5sTjo/TBqpWFPY5UZ5G+Ctk vuxICrkPNiGM6vaEjSRlbhr8Y4IiLJMjk+/ghbJg5+bx5Y8ltcgxZZW5/wcmP0z3Zoko teyhKXLnoOP4xFmprThxap3QNj9dSBpXjo/z8cQ7KvjHF5adq8SO+HPAZHwTzycnIvNg uQRw== X-Gm-Message-State: ANoB5pk0axw+o84MJyW+xZym0J4wTg9M+j7wjDBvnM5bCP2cCJAqyF+d QmfWDGkkdgKIPXno4vMMyBI84w== X-Received: by 2002:a2e:6e13:0:b0:279:d056:21cf with SMTP id j19-20020a2e6e13000000b00279d05621cfmr7406288ljc.18.1670958648012; Tue, 13 Dec 2022 11:10:48 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id w28-20020a05651c119c00b0026dfbdfc1ddsm372023ljo.11.2022.12.13.11.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 11:10:47 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Vinod Koul , Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] arm64: dts: qcom: sm8450-nagara: Enable PMIC RESIN+PON Date: Tue, 13 Dec 2022 20:10:35 +0100 Message-Id: <20221213191036.611241-6-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213191036.611241-1-konrad.dybcio@linaro.org> References: <20221213191036.611241-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752127257507972881?= X-GMAIL-MSGID: =?utf-8?q?1752127257507972881?= Enable the power and volume up buttons, connected to PON and RESIN respectively. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi index e26bd077d3d9..1a0c26d84b4f 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi @@ -643,6 +643,15 @@ &pmk8350_gpios { "PMK8350_OPTION"; }; +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + linux,code = ; + status = "okay"; +}; + &remoteproc_adsp { firmware-name = "qcom/sm8350/Sony/nagara/adsp.mbn"; status = "okay";