From patchwork Fri Apr 7 07:45:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 671813 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 4098CC6FD1D for ; Fri, 7 Apr 2023 07:46:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231724AbjDGHqQ (ORCPT ); Fri, 7 Apr 2023 03:46:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjDGHqP (ORCPT ); Fri, 7 Apr 2023 03:46:15 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9303FA273 for ; Fri, 7 Apr 2023 00:46:13 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id by26so6709104ejb.2 for ; Fri, 07 Apr 2023 00:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1680853572; x=1683445572; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=ftmddGPtFC0OTnDCGzcglP4ydtKIcTHHa+H1nmoP5dM=; b=3zYvbAUxfQl1T1iXWWK/b/4iQfGwPmYuHQQJhlEOARJmvTorlhBaVKR3N+YdqnCBA8 RMQQY06XcBr68/2krbtiQRNgYRnodFEQ4AZt+VLkIbDOWWDuD8od/KPmqPI+4Avyyejd krRqbNPIp2wiKM+Ome6nm6logR4sGDaSNjgJwgGkqaSvpbsgrDh4b753ltXW9xL77Wh9 okGWnbDo/w4kylJbWZa7CZJirIsgO6zqzYXX2OF63upCQNPxiXK6/L2MRZELwsyT+Imd tTWvuapU6fntnTtLgu2Y/Intf3lMS6Ntx5zHP3PXARJ08Q6QBrGUjVLqPfvimTiupeCG mgRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680853572; x=1683445572; 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=ftmddGPtFC0OTnDCGzcglP4ydtKIcTHHa+H1nmoP5dM=; b=tW2oYZhjkw1OlOsejRao9J9lV6+yopej49c+k4SDanYIfr1IS70KUsc0QFvd8NzhN+ wP3zzK0L+ev/EVqsoJaGiGLnNHQQ1BpPbWbAnVShqJoSyr4eyolEl3b/w2bnMty0Nj03 jvrefeRsV9f8819QO/AaX+bZbb3ahK1MVP9PYJHfdApMrF7MYeWajgiA63BjfcEYXvQa iicInujqCLwOaIopU6E3TrGhQiiiWNzmTeEUznudjIM7n6hB3bR4ooToyG5iYmcpqTp9 v593TZ5IXH3lAEqe61olVrM1HhLEnqzsm8J54IeB6UrhSXTK0jgmvH98KPBORobwKHbk SFIg== X-Gm-Message-State: AAQBX9e2kFEmOG+dvNNQrsOt+dcZLPYJRGEMcma/N/ufwC5vh01vF1N/ FBRZ4EKAL/oMEYsWKIqxb1PJrg== X-Google-Smtp-Source: AKy350aaeK7fo3tEE05vaiCic/7YqE8qTPAIvPh6+RnEHZlIyJK91TKReawucVGXgZFmrxM7P8FTBA== X-Received: by 2002:a17:906:e41:b0:947:c7f4:2342 with SMTP id q1-20020a1709060e4100b00947c7f42342mr814426eji.4.1680853572016; Fri, 07 Apr 2023 00:46:12 -0700 (PDT) Received: from [172.16.220.24] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id sa28-20020a1709076d1c00b00949c04d1c64sm1762378ejc.41.2023.04.07.00.46.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 00:46:11 -0700 (PDT) From: Luca Weiss Subject: [PATCH 0/2] Make SID for PM7250B configurable (and a small fixup) Date: Fri, 07 Apr 2023 09:45:43 +0200 Message-Id: <20230407-pm7250b-sid-v1-0-fc648478cc25@fairphone.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACfKL2QC/x2NQQqAIBAAvxJ7bsHUMvpKdNDaag9ZuBBB9Pes4 wwMc4NQYhLoihsSnSy8xwxVWcC4+rgQ8pQZtNJGWeXw2JyuVUDhCZuWjPN1q60lyEXwQhiSj+P 6NZ86Es18/YN+eJ4XQxop5XAAAAA= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.2 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Like other Qualcomm PMICs the PM7250B can be used on different addresses on the SPMI bus. Use similar defines like the PMK8350 to make this possible. Signed-off-by: Luca Weiss --- Luca Weiss (2): arm64: dts: qcom: pm7250b: add missing spmi-vadc include arm64: dts: qcom: pm7250b: make SID configurable arch/arm64/boot/dts/qcom/pm7250b.dtsi | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) --- base-commit: 7e364e56293bb98cae1b55fd835f5991c4e96e7d change-id: 20230407-pm7250b-sid-68e37a58244e Best regards,