From patchwork Mon Jun 3 22:23:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 165685 Delivered-To: patches@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5036563ili; Mon, 3 Jun 2019 15:23:23 -0700 (PDT) X-Received: by 2002:aa7:8394:: with SMTP id u20mr24217266pfm.252.1559600603093; Mon, 03 Jun 2019 15:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559600603; cv=none; d=google.com; s=arc-20160816; b=o7T+33HVE9HKwPMC+a1CkEpfgrCyRjIR/e9KZ7LTBMz16Z7aYNHCUvKPTzNO5jWGxe sQZmHC517bkXDBRwWOrYYURTL8vnw6CwjioIJSSe8OP70JTff5L0cwq/zuxwBV5xwSXh RJIClT0SEbCbyszxwkC4Q37kh1aV5UmGB7ywChR1QrrmL4HCIp/3gOxDEHRfcUG3WHrc xLXsjAfq+nzStePytaWuXmqx9T/gJ2VLAaBXW0o3CCTDP8JdQFXIvTBLQXvWophUO86+ pOMar5gn5sHTAM1g94gFOK3f3ko6v2S4ZKwkAXB0aMh+kq+u8JVkGS0fQOb++B+YhabW EjNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=6niAwzcPpAohPvJt4Jc8GtfUU8V0u7v0Rg+78LYun9M=; b=rlqZwg+4NuALKu4g5WiExaxTtcJzgO30rxFvv3gmu9gnXZAWllMHIDQc+xfXhdx3R9 JDR7DUQ9QeQCi0rXf6bcO79lMJdzkV4F7AEHAedGqvNEwHsOYTpdGdg83Rud3oEK+jZM vipg3MRDlWfGjDqwU/Ze0eIGwFhK+25Sf1J28DJTOvcfWoHPhxadxB5hmQ9+GkY0yJjf novr7JLFQsp35Sb22SRZg6+FXwDo8JLV4p4tfqy/3G5WSn6NGtsQZ5Yprlv+MOhYmiUM ewfZo5NxJTv4SV0fwQKOW+yJp+KBtCklhdRMF41oDNQPB30zOPEXbdihlDMyTj+WSIpJ HfzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tpyrIN3p; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id u40sor14726945pjb.2.2019.06.03.15.23.22 for (Google Transport Security); Mon, 03 Jun 2019 15:23:23 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tpyrIN3p; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=6niAwzcPpAohPvJt4Jc8GtfUU8V0u7v0Rg+78LYun9M=; b=tpyrIN3pOhJIjlxgLadTRT5CufA7IzK4ux2DtTFgG7teYRUtUh06+WAmNriOTkh6u2 2MPJhiEQjvyIIwN3TyUAgw4GPxAti8x9g4fIBmWMYaB5QSONi8/JJhBj05BA4+Wy5vRz PAHvFaONYBe6dGZblkI7awqz3xqSW6y6G4S4tWzElGh0XE0tJtHQDwjqisHNfdW4Veia rG7L5JGJzGKf+TeJNB1m+5C9cQ/Ew9nkrSOZyfz2akaUDuDwO6I8Q4/G8Z5J1jl4fLUi vvldAc/78m23v283dpNjp3mCpC3lLQc/hHp6cUFSWuh7a/kACawIPOMRZJAIJ9cIHIFd FxkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6niAwzcPpAohPvJt4Jc8GtfUU8V0u7v0Rg+78LYun9M=; b=eFaO3qf0I7l7z9bxJ0MnC1dDQ8atGAMtz6X88DMpHRtIAjacpOf5+sf04i29IObXiJ zDVeh4tsfhHg9WG5APIAHDRDjwAfs8ig/yjJRkF8MDp24GgKmV1YospWAjDpj1sufdmP UPxdTMIm6fZKg0e6uS4wl6m/56Gx/ehK0GU0w9CJmomOl+SjmXKp3pO1IiIT9Im675XY dy0VyCyLh9P0FnTaooz1Y0q83umBZ0g24/MHN5NC2CEaHLr4HhwGT8EW8eY3TNiS6hzr o4J9DL5EmbAvhFg5H+w5ZDO9Ly8yQ8obGlfKChbHJaj1OUMdZ3KK9vg1jhrz/3XxuFTi ohRA== X-Gm-Message-State: APjAAAVtfEMSTi1/nUYg/VgqGf/KdAHIKHuhvyGt2gvZABCrUXgsrvsH mcV2H84XGFkVUGz+1YaEjH29cyAU X-Google-Smtp-Source: APXvYqyW9fNJIYUZyJi9V5wJYk9SdgROr34PF8/DcyWJQ0PKLOKb9vtvUgdQ2NiVawrNdsXoeyOSuw== X-Received: by 2002:a17:90a:37e9:: with SMTP id v96mr18652976pjb.10.1559600602567; Mon, 03 Jun 2019 15:23:22 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id g8sm14320588pjp.17.2019.06.03.15.23.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 15:23:21 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , David Brown , Bjorn Andersson , Amit Pundir , Rob Herring , Mark Rutland , Sebastian Reichel , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/3 v2] dt-bindings: power: reset: qcom: Add qcom, pm8998-pon compatability line Date: Mon, 3 Jun 2019 22:23:17 +0000 Message-Id: <20190603222319.62842-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 Update bindings to support for qcom,pm8998-pon which uses gen2 pon Cc: Andy Gross Cc: David Brown Cc: Bjorn Andersson Cc: Amit Pundir Cc: Rob Herring Cc: Mark Rutland Cc: Sebastian Reichel Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Reviewed-by: Bjorn Andersson Signed-off-by: John Stultz --- Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt index 5705f575862df..0c0dc3a1e693e 100644 --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.txt +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.txt @@ -9,6 +9,7 @@ Required Properties: -compatible: Must be one of: "qcom,pm8916-pon" "qcom,pms405-pon" + "qcom,pm8998-pon" -reg: Specifies the physical address of the pon register From patchwork Mon Jun 3 22:23:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 165686 Delivered-To: patches@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5036583ili; Mon, 3 Jun 2019 15:23:24 -0700 (PDT) X-Received: by 2002:a63:f509:: with SMTP id w9mr32108534pgh.134.1559600604541; Mon, 03 Jun 2019 15:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559600604; cv=none; d=google.com; s=arc-20160816; b=Rre1E2eUPx0xUiik6jlJDY9RnExPlyDh7TZM49vnfaUmOsNO07WD52ObNtkrrhzI+n RMfYrAyz//eh2pGVGQYwaV+LwSucUV07s/Tvq2xlRs+aTn6jbO1lZDH5/MXry3XHsJGB 4Y8FMu058Cc+IVyD5g4I2SAKGYe7XN2bdnMtiDtSN64CzGRqXCXSSIg5MNWmV/PieJsG QAKPMtFjPv36xn0XJghe/zQqETdD9ulAQVdzw/YPWqjLB5IfkcOvH5Qo9w5ewba68Ywp +BxhK9euPwV2diebTp+p8cTA4HDNFHptMCvRd83l5j77WO2Hr4Cub2IRVM89qqRphgwp 5QdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LNT+l1wAM3ExTzu8kAKF3OCBx9DgMUq0svFdafuGiNA=; b=uh6SMr/Q8rzb37oB8DwjGWDmaRwVcBkdAwHWw/vw4IiQuo6rQb0dmBla3vU2U6xhhJ O12TUwUv/I5UipaZPxC0wZAN5f/yJoIIO1FKleXiAHA5LMFvVWfqukvpMDRybzFFMXUU D7DC++iuq7wMBGVp1N2Op9st1C3iM2LDEuDTJaFhnh5sMNq1fyPe2Hr728/zHk2FM24c jGssRP8gsjgnf9N1dOwsEnhSjtZfEwny2BvkaDk17QEkyl3Uev6X508JRCY1RvYAZCUY MBx05MTrReR8VJLm0U960q7zcri+sgPHHlLFJm4hSmELs0rYbE5RNoSu/URSBSZGEQtw blNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RSBsA1sZ; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id r3sor16520562pgv.46.2019.06.03.15.23.24 for (Google Transport Security); Mon, 03 Jun 2019 15:23:24 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RSBsA1sZ; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LNT+l1wAM3ExTzu8kAKF3OCBx9DgMUq0svFdafuGiNA=; b=RSBsA1sZKPZQGT93W+BOBhN5ctHJdvI/euEzW7VqiT83w1yWpIWw4F/wIqRqPuBPwS fKKXmI7hYcUhj2RyZNzKSmcpjmoEaL7XupXMPJuTkR2lVWLlisrIugg7hmQkbPvjMd11 TI4j3rZ7FVM6Q1tbomdGo9f+hjO/SHPgwZHEc4+U8bGfygVQjH8fBTvna0n+vG7X7BZH fP7IlskzUXfs5JGj25rr8StP0H9MVGbAcfJ/7GqoHkA6x2b7dLsD0IWUu/viyPUyni1e Pf7Lqj0MYVvoMTGhuoBESr2O0GaOh9VC5kl77CtY6mKwGQOSU0OwIbluEKvLvB1gYuqt d8yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LNT+l1wAM3ExTzu8kAKF3OCBx9DgMUq0svFdafuGiNA=; b=nXsNckYxjBAqbYrDtIMj6tFojHgKOXnyu9RSf137mmqJyuiLkXk3pCLB2DlAVCgNWG 7f8cvVUMJbbWoxTe10+xjR6CKkRBBFSHNNHGaZJcnPveyZ+oPDHg9QBFfwuiBdYiAqnK t0BdRvS6ZRYBHkEwcpxtkARIF6YsjSwOVh0/GT6z3Q4amf1sQb0Bu/RX5eGug9/tntJA ER/8R0p+ADDnD7sOL1EG+KUn/8xJYFhObGN1mVGrlfnKwV3UmtZG2XnfcUSl5/G2Mlat smDhWy2Vi+tr8kiOybGdMPV86r2oxpl+NGU1RSvZKdVJ23sv/4GM8SH4vOtqFELSXfkY OdZQ== X-Gm-Message-State: APjAAAWKEJoKLUXRSURwZ4ivffUKyo3v9sieMVS+G9wDHVvQoWi5g9o1 d0ojb89jXDMT2+Mh03rnkKyFbXQJ X-Google-Smtp-Source: APXvYqyvzQyIVZPpUnCKtqlHVvAak9rWtp9S1Ze02w7DQsnHXT0RcsdjgSSK837eelbF8SsQY965ew== X-Received: by 2002:a63:4c54:: with SMTP id m20mr31550310pgl.316.1559600604132; Mon, 03 Jun 2019 15:23:24 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id g8sm14320588pjp.17.2019.06.03.15.23.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 15:23:23 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , David Brown , Bjorn Andersson , Amit Pundir , Rob Herring , Mark Rutland , Sebastian Reichel , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/3 v2] reset: qcom-pon: Add support for gen2 pon Date: Mon, 3 Jun 2019 22:23:18 +0000 Message-Id: <20190603222319.62842-2-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190603222319.62842-1-john.stultz@linaro.org> References: <20190603222319.62842-1-john.stultz@linaro.org> Add support for gen2 pon register so "reboot bootloader" can work on pixel3 and db845. Cc: Andy Gross Cc: David Brown Cc: Bjorn Andersson Cc: Amit Pundir Cc: Rob Herring Cc: Mark Rutland Cc: Sebastian Reichel Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Reviewed-by: Bjorn Andersson Signed-off-by: John Stultz v2: * Split out dts changes into separate path * Minor cleanups and remove unused variables --- drivers/power/reset/qcom-pon.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/power/reset/qcom-pon.c b/drivers/power/reset/qcom-pon.c index 3fa1642d4c543..22a743a0bf28c 100644 --- a/drivers/power/reset/qcom-pon.c +++ b/drivers/power/reset/qcom-pon.c @@ -14,11 +14,15 @@ #define PON_SOFT_RB_SPARE 0x8f +#define GEN1_REASON_SHIFT 2 +#define GEN2_REASON_SHIFT 1 + struct pm8916_pon { struct device *dev; struct regmap *regmap; u32 baseaddr; struct reboot_mode_driver reboot_mode; + long reason_shift; }; static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, @@ -30,7 +34,7 @@ static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, ret = regmap_update_bits(pon->regmap, pon->baseaddr + PON_SOFT_RB_SPARE, - 0xfc, magic << 2); + 0xfc, magic << pon->reason_shift); if (ret < 0) dev_err(pon->dev, "update reboot mode bits failed\n"); @@ -60,6 +64,7 @@ static int pm8916_pon_probe(struct platform_device *pdev) return error; pon->reboot_mode.dev = &pdev->dev; + pon->reason_shift = (long)of_device_get_match_data(&pdev->dev); pon->reboot_mode.write = pm8916_reboot_mode_write; error = devm_reboot_mode_register(&pdev->dev, &pon->reboot_mode); if (error) { @@ -73,8 +78,9 @@ static int pm8916_pon_probe(struct platform_device *pdev) } static const struct of_device_id pm8916_pon_id_table[] = { - { .compatible = "qcom,pm8916-pon" }, - { .compatible = "qcom,pms405-pon" }, + { .compatible = "qcom,pm8916-pon", .data = (void *)GEN1_REASON_SHIFT }, + { .compatible = "qcom,pms405-pon", .data = (void *)GEN1_REASON_SHIFT }, + { .compatible = "qcom,pm8998-pon", .data = (void *)GEN2_REASON_SHIFT }, { } }; MODULE_DEVICE_TABLE(of, pm8916_pon_id_table); From patchwork Mon Jun 3 22:23:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 165687 Delivered-To: patches@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp5036595ili; Mon, 3 Jun 2019 15:23:25 -0700 (PDT) X-Received: by 2002:a17:902:c7:: with SMTP id a65mr32404457pla.182.1559600605726; Mon, 03 Jun 2019 15:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559600605; cv=none; d=google.com; s=arc-20160816; b=XFi3rK0sN6pqj6XN1YJ+CVYmIb4vyHv0YD8TMpawRlm3VvExwtgE13bdwyrUzbjRl+ iHj2LS5EIppu7lSRL2tsmBtBO4T3U2Y6gfwLjwoWb9xvhbG4M0tK5IRJiFhuC/mmlmvp F/28hSMIBeiPajHSUPQ8qkkezWAwBflb/6BFPtjhROZUl5dQ0zBcUJqr+k7iNSt8C2z9 LxioEhky50tJ/8lpPvh2p1yruk5NMp/TzT457srSb8kFcSy4j8+z47J3Pnkm0qA74Tfc mARI2jcNiIj0sAqPm3Og+spspJnx76WWrGtqGTFUrpMlhGgWX9UyUKxKxtABm1kTyAna +Kbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KV1yP4xPKIyp1RKqHB+nD6QgQGfk1bw32PIxxNzkN7U=; b=PKFkBlsdBydELraucoh8XrVgCDWeo6pLTfVIqo6hlt3qInC/ZQpKS4/TQezIyhPrAI QzkGQ+1Elsczx1xX5AVh9KoELwhXfAPb35N/xBcEptfdmLnz5b0EwG6954lSxMhqn2Pw M89SH2PcJwmuIhCF6REgQiNVpE5KmBP8BeZAiC2DzIwAWAX3GFdiKWrhcuyPdUCHL7yz GQ0DFc5kq/PCCwOC/sT/5fgYySnxozWa4MQdiPEJwyog1wV1eKB1N9nd9YG02/blZyoI qWp3QKtgfCvnm0Hlnfwh4/ZvSje4csTCBeGqfM8CiCgdLAlebnHGVmGjia7XsYMWefmu pCyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L7aCm9ar; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id y12sor17961454pfr.65.2019.06.03.15.23.25 for (Google Transport Security); Mon, 03 Jun 2019 15:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L7aCm9ar; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KV1yP4xPKIyp1RKqHB+nD6QgQGfk1bw32PIxxNzkN7U=; b=L7aCm9arW0EF/yMO3AoxQuQPqIWFqHn2McPj1Pnb6jxxV/O6Z+hFMVddo7AdkGjYdI lfIf2RBJi2sqof8W3HPbnDqO3drzS9kN0Xge9AxFf4QV8PzZwxVu5rzY31FVbp7Gwae9 SrzeyAOdcv1FP2JGidBa2fUl+2fKzKS2uMdkAFd5OBfsLvewktfT69k0OPQxJEZ6XEpA H3AU6JfQM0sx1XFk+ujk4bKOHXnkD8KsYffAgz46z17K6zIgyySAvNFWMX7S0+ea2zmC D2s1znTbmO9wraSLLyBAZnxrTIyM0OSurxT1G9O9GWYImS8XFrSrd8174uxxP8d8zTAP 30fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KV1yP4xPKIyp1RKqHB+nD6QgQGfk1bw32PIxxNzkN7U=; b=YpzbDSzwExlfc2jssXFBXjwzrz4rwXPDJ3kNpuHxrD1RGq+O0HLX8RqlQB5o3/kKkm 0TD+d1619xSmMiZcjCaHsBjjkoVOCgkD/WcQkIGFS0KAgCbU9swYpfvq4T8lTs67p+Vx U41cLyFp7Pc+kUojEgKBAVKRfj7oz2ztyM87POpnUue4yh3P7R4RvQbz6NrQ3NFQ9d4h qsexIgED6qtQRXYlu89/i9L9L8BK4xkl2yVvZM+KaORI3dmri4LfhhVtQZi3DQk6aOkW TuBFxNHjQeGv99RM4sjnd+MScBxcpWnMVDlD39ywdyxXqQWU8QtFWg2uKLz5jMqkJvCw 6TVA== X-Gm-Message-State: APjAAAVg2onDA1KVEaMczTVg7jAMLDrxW6Kd5jAVN7b3FMJekOEfr+Ev EPUa43HIlWzR9vJQn4rGoXBRqDQ3 X-Google-Smtp-Source: APXvYqxeAhg/5hJQWcCD51pc6wcjvauGAvorr2NlhrqLCJn4zUoNyePOZR4JRwhRVRZWzvatY8yVxg== X-Received: by 2002:a62:7a8a:: with SMTP id v132mr11712996pfc.103.1559600605383; Mon, 03 Jun 2019 15:23:25 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id g8sm14320588pjp.17.2019.06.03.15.23.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jun 2019 15:23:24 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , David Brown , Bjorn Andersson , Amit Pundir , Rob Herring , Mark Rutland , Sebastian Reichel , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/3 v2] arm64: dts: qcom: pm8998: Use qcom, pm8998-pon binding for second gen pon Date: Mon, 3 Jun 2019 22:23:19 +0000 Message-Id: <20190603222319.62842-3-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190603222319.62842-1-john.stultz@linaro.org> References: <20190603222319.62842-1-john.stultz@linaro.org> This changes pm8998 to use the new qcom,pm8998-pon compatible string for the pon in order to support the gen2 pon functionality properly. Cc: Andy Gross Cc: David Brown Cc: Bjorn Andersson Cc: Amit Pundir Cc: Rob Herring Cc: Mark Rutland Cc: Sebastian Reichel Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz --- arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index d3ca35a940fb6..051a52df80f9e 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -39,7 +39,7 @@ #size-cells = <0>; pm8998_pon: pon@800 { - compatible = "qcom,pm8916-pon"; + compatible = "qcom,pm8998-pon"; reg = <0x800>; mode-bootloader = <0x2>;