Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp293512rdf; Tue, 21 Nov 2023 03:02:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYiRk3wxXncH0+h9xnfZ4x9mw6zcDmREn8Oss5IjybrdvcB0wBUWxFeETpTPmKV5ldcBpy X-Received: by 2002:a05:6870:5310:b0:1f5:b150:5691 with SMTP id j16-20020a056870531000b001f5b1505691mr13477062oan.25.1700564534756; Tue, 21 Nov 2023 03:02:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700564534; cv=none; d=google.com; s=arc-20160816; b=dEZ/xnDTEYl4HQTxNCm+Gkmmfc6xfJlCC/mD1tPw+po9Q7YT5x5udMVbF4bFMTUajH bq7k25JJ573RcNxGEMi6MimvsNb62QFdnyeCCqyPMjRT05OHEZg7KJ1VXP5BfePaqiHm +g7Y3p9m6X72qLx6ZbNZUQRY1Bmg15ot6p/0DP2H2bGylOxsbchkdwws2sOge5LK1s0p GPNfO8aQ8CuSwvrr0bv3ziL/YpNBnbQx2NGSiNkMPKSuY3YbyM09lfW4i/pHZR/uP6dJ izz+xlA2YViC7N2WFYzvQjyKtXTXtni354NaqN8pQuXjRbJZpPr7Xcr6XcWq8aKPH1Pn xynQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Lfu2ORpkeCL1UpHBva1eJY9Hjq38Pt6Ou/3N+ye6TmI=; fh=sCatITcX+XZ6LvD/s0wz2dK14I7uXwYSPaj41KpRZ1k=; b=BYpUhH90kYsJkcL81JI8MtrdIgbWDfnZ1WJT7xesYwTTAYQ4kywNmo9iHNpLN11SYG vomWEuhzue1R+WfCsRwxknvb3/hPxO5ADfSadkkxroNaALbFpLbaLn0yFweoikugt3PT tUc5lmWHJ6hWHc8dAohnTjYBNzgK5LITRfMQhRsEpNdDZzC/bynMkj1AfgXlMjJ2eWWQ wQMBn/Qg4wB7YLX9bmjCL5N0Qw/wMnA1CbfknCF7VaphAvvSUcKA878gdDVNJGgRQudM xHyAJ8ggAyo9Rf4uDjbsY3ZlTZCRmCdgcyv5HlJPe/hFioZ5tVTCsd8k4tA9sR2x7b/m 8sWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B2HMzVma; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c20-20020a056830001400b006bf0a6dd33bsi3479508otp.96.2023.11.21.03.02.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 03:02:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B2HMzVma; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id BC6FD80CC12E; Tue, 21 Nov 2023 03:02:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232187AbjKULAa (ORCPT + 99 others); Tue, 21 Nov 2023 06:00:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232033AbjKULAV (ORCPT ); Tue, 21 Nov 2023 06:00:21 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D000811A for ; Tue, 21 Nov 2023 03:00:12 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-332cb136335so1057542f8f.0 for ; Tue, 21 Nov 2023 03:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700564411; x=1701169211; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Lfu2ORpkeCL1UpHBva1eJY9Hjq38Pt6Ou/3N+ye6TmI=; b=B2HMzVmaK5+6xmtWKuIqmqMB1e34NodefluFbX+2b8jOoPg6elJHdljSZqZsOPBUu7 2VRJ6dbh5bd7lZN+0BbtiVBe99BimGavnmUMXJYkZTSoDK89fCbIoI+HNzryF4lzS4h6 RDQYSTID6iAwIFvuTAIkcTLv84Hym7w6LFdddT+An3jS3DYlm72Agp71eVpl1LJIULcy yRc4Db3rNQbZf0oB1+MXUuq8poHVe+R6bK/e/CmpsI23AwZu2Tk5IZveKfMN3DVCM/c/ LRVfoN5jMN2CVs2RZYhxoiZLzDej/zlo2EF+OHdRu0kKkIywMFCMWvKVpM5YueevtEXO 0zOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700564411; x=1701169211; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lfu2ORpkeCL1UpHBva1eJY9Hjq38Pt6Ou/3N+ye6TmI=; b=MYeRiwbld4WPamHoJuYr9Ed/SavfzItAuJRKIMMRLz1MhGptG/ycuHcpJhuYMvPKgO LZeFB9sBMHvLfbdvckrqM8amVGt/x1qSa/l6etd9W5WqP3/Tyig4hEWol5iEbZbiUiwl lsAyLty8edE77puGHdvkTjLvsX/m5ihlAguzYdfBoT2MV/jYUD2zCTHv8X/8/u9TZssO cn04PVqFZ/AoeP6zvyMUPsuEBYXiayFKfKsKve9jowltnGIHiAIbY+duONa78ZRUqJ1H j1bPtFokFyiRfxtcxiVfHBygGtzv6zKhzE1LNBidHXzVNIPUtyO+4Xkyh2vd5IJFr5f9 QiuQ== X-Gm-Message-State: AOJu0Ywuh4ZeMgpXdcP7H7lSLA37FQp4nKPTWMOH8cEgAJNcSLl8GGKP uaBDjY1v0HaYcVlFfSYvIyPlZQ== X-Received: by 2002:adf:f647:0:b0:331:6d19:6899 with SMTP id x7-20020adff647000000b003316d196899mr5290839wrp.70.1700564411126; Tue, 21 Nov 2023 03:00:11 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id f1-20020adff581000000b00332c0e934aasm9028500wro.44.2023.11.21.03.00.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 03:00:10 -0800 (PST) From: Neil Armstrong Date: Tue, 21 Nov 2023 12:00:02 +0100 Subject: [PATCH v3 3/8] arm64: dts: qcom: pm8550ve: make PMK8550VE SID configurable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231121-topic-sm8650-upstream-dt-v3-3-db9d0507ffd3@linaro.org> References: <20231121-topic-sm8650-upstream-dt-v3-0-db9d0507ffd3@linaro.org> In-Reply-To: <20231121-topic-sm8650-upstream-dt-v3-0-db9d0507ffd3@linaro.org> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2054; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=GxogOVA0VSEH06pH186Sg87gTWs7OvO1dtqJiV/PY6g=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBlXI20FmYb8a1akK6sOe15+S19QginB6KTJmspXWx6 5Wr+Fj+JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZVyNtAAKCRB33NvayMhJ0XnKD/ 4svV4tZAhMRqfwqYJCWDlSFUN2RgnlhsPb4zZGGlR7PUvbcz40kJsChOP7qejlwT9CIoFBhWXk6YTS zDwLrHiThhoWodlnxQZCKNhYFbNXd5UFG9Z4rUIU2zxNA8+lpij0uG1KZCV/NYkhb3fd3uJRIloden SK9KOpSQExPmdwRILQNMHL6QHm6cKbfUdE4/aQ3ncmHhHMv0atszGEKyy0sdK3SISAjAghMcFQ9sZn qEQqjsfLHLka4VSM7BVTquliRzikZ5QaUX5C6bJKSotV9sfL2PVViRQY4Vtb5LC+uX4bIJ83hDi/se qyTrfARlWjCSqSb2suw5S02ryaI+Syb6caKDCl2xK7rEh8G9SgZTfeI7M8n0NFVaR9TZ0fHt546yik GfJXThMlZATPoXdW1XBMM55Tqw7D9Af7WslegmYvk+MJ9pwIHTmpxNm0RCpVuwPzEnlAPurMmBiush 3Yothail4MOrbVXwvbNL10Wy5CfY+olhPwCwm1EKKoy+jhq1WREDK/9i4CzQjoQDGgTZL6NqKExAPH v7HFHnpeSjYyHc341TrWUCspxEMJz5EV71Xfl43XPhgVNxYSj7ieYPzXmLzlHdkuq1sbZxQlQUrRu/ zvS/8CxVWUPSSu4ch4zFz0xxv+L4JhssQaLXc168YJ2L0dx1BAWDrftjgqTQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 03:02:07 -0800 (PST) The pm8550ve can be found with a different SID on SM8650 platforms, make it configurable. Reviewed-by: Konrad Dybcio Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/qcom/pm8550ve.dtsi | 6 +++--- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 1 + arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8550ve.dtsi b/arch/arm64/boot/dts/qcom/pm8550ve.dtsi index c47646a467be..4dc1f03ab2c7 100644 --- a/arch/arm64/boot/dts/qcom/pm8550ve.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550ve.dtsi @@ -33,16 +33,16 @@ trip1 { &spmi_bus { - pm8550ve: pmic@5 { + pm8550ve: pmic@PMK8550VE_SID { compatible = "qcom,pm8550", "qcom,spmi-pmic"; - reg = <0x5 SPMI_USID>; + reg = ; #address-cells = <1>; #size-cells = <0>; pm8550ve_temp_alarm: temp-alarm@a00 { compatible = "qcom,spmi-temp-alarm"; reg = <0xa00>; - interrupts = <0x5 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; + interrupts = ; #thermal-sensor-cells = <0>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 9a70875028b7..ac045bfc51e5 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -10,6 +10,7 @@ #include "pm8010.dtsi" #include "pm8550.dtsi" #include "pm8550b.dtsi" +#define PMK8550VE_SID 5 #include "pm8550ve.dtsi" #include "pm8550vs.dtsi" #include "pmk8550.dtsi" diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index eef811def39b..6d5c2312960f 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -11,6 +11,7 @@ #include "pm8010.dtsi" #include "pm8550.dtsi" #include "pm8550b.dtsi" +#define PMK8550VE_SID 5 #include "pm8550ve.dtsi" #include "pm8550vs.dtsi" #include "pmk8550.dtsi" -- 2.34.1