Message ID | 20230417145536.414490-1-brgl@bgdev.pl (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5079FC77B70 for <linux-arm-kernel@archiver.kernel.org>; Mon, 17 Apr 2023 14:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=nUdNtzG+FqzPOSrERX5JNTawdi7bZmAa/Kv7b9lUszc=; b=0WlrL442kyTbSK j2kxWq7G2Dh30wIXxreNRJbte8Lq6iqVJjZd3uPsQDNeavarhbWRwXQI/f8gdxvqrWIZkGPfna3CT zou421b8yR+gbtGaPNB9p4tk+NWwL7tLQ1Pvea8KpJJQPLlA7ePvtsQKoXLGIlTGbq7Wv+aLc7ZgR zrFkfeV3u66RPEobNkStp4rdmYrZWNQ+QxrNqjFsASGPilfUNfxOuURCAhslwbVm72LF61IqzM5qn iotqp+GkiXx3Hrx0BGS8ND6whTSqOBjRP2YEGG123M3Jmt5hjjqzbmme2OIUD2utrxuk1PvsDkiMN 4TxeMr/R30MNgUmGjMHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poQGh-00GiAQ-1Q; Mon, 17 Apr 2023 14:55:47 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1poQGe-00Gi5w-0J for linux-arm-kernel@lists.infradead.org; Mon, 17 Apr 2023 14:55:45 +0000 Received: by mail-wm1-x32b.google.com with SMTP id v20-20020a05600c471400b003ed8826253aso7624494wmo.0 for <linux-arm-kernel@lists.infradead.org>; Mon, 17 Apr 2023 07:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681743340; x=1684335340; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=WYXjd3dFJZ9jr+MGGQSiH1V/fToahIVAv131sffor2E=; b=Zm2XgoDOA75WQWE4pUBOyhAaKt4rChqJXPd2U4SDduyp7hzwaAQLaIcR20Jt2Lpgyf hIlQNQ0PTGSGxd4qXNZ528dmBs2In0QMGxSZQmi6ZJSxd6soU4VnYHqQKKD4VTPPJWJo 7BRcgWO4NCTlOhDpaxTEGc86JbBde6eXvQmXxotnI9t2KK9NsQD5mhiCFY3T0WzRG9fg UadOwpuTg06D3LK7lyxPsaP/nYiTYkaOqlNxiE/hKVevkyaHRNN9qmPRIWQnCaUugtLK 0wupbIfkOUYs4F9R5dghg/sL6LHpjLwYH/cJR2Xk7T0yj78/GeLNn4JZYbEgVHcQovyC Okxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681743340; x=1684335340; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WYXjd3dFJZ9jr+MGGQSiH1V/fToahIVAv131sffor2E=; b=RibY6sMYDuytYmHgFL2gsdjU75ohsFKjEyZoSnXJqjIDIISeAdxtjv6svA1ev/Wyii k1GDSkPITJh2DLgzbtfPY8ThnLr0xQbTDdiIdMwCfbkRBRlrBNmE7I7Fe2UiAeOB1vw7 kOG8wPocpCVmwDGHY7iAjI9csdbCANySUvTwDonsXkWIP+QfUtYwqJTheWMjX6AMIvFt +Ar9RLM7E3TQM+XVwvf+lDqhwRCivojaYDdNwh/0enGKVqHytqGimaHBb3W1+vENHXWj MOl2ii27bL3Eblp4ClnCWMzqMo+No+yeMf1aVqnEPi3Pewx3g9bRxOQ3d6inwXHCTj33 dpvw== X-Gm-Message-State: AAQBX9e4p42RcctBiXIHjw6hWnFTafzMa8uf+M3YnzDRKFCOheumawck 9ITP5dmshnhYxYS8dgeg2JyfcQ== X-Google-Smtp-Source: AKy350YHd53wDWHSAIoI+eaEBU7aieJy/+jXCwJTxDQ9E371C+xJFImg+dYi6jM7Ob7gntTWWkvquQ== X-Received: by 2002:a05:600c:1d20:b0:3f1:76d9:c788 with SMTP id l32-20020a05600c1d2000b003f176d9c788mr766508wms.8.1681743339907; Mon, 17 Apr 2023 07:55:39 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:374a:ffae:fd26:4893]) by smtp.gmail.com with ESMTPSA id j15-20020a5d564f000000b002f7780eee10sm7998301wrw.59.2023.04.17.07.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 07:55:39 -0700 (PDT) From: Bartosz Golaszewski <brgl@bgdev.pl> To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Arnd Bergmann <arnd@arndb.de> Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Subject: [PATCH v2 0/3] arm64: qcom: fix the reboot reason handling on sa8775p Date: Mon, 17 Apr 2023 16:55:33 +0200 Message-Id: <20230417145536.414490-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230417_075544_383075_C626948C X-CRM114-Status: GOOD ( 11.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
arm64: qcom: fix the reboot reason handling on sa8775p
|
expand
|
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> SA8775P uses nvmem to pass the reboot reason magic value to the bootloader. Remove the reboot modes from the PON node and introduce an SDAM node passed to the nvmem-reboot-mode driver. While at it: convert the bindings for nvmem-reboot-mode to YAML and enable it for arm64 in defconfig. v1 -> v2: - dropped the defconfig patch as it went upstream already - in patch 1: explained better why we need to drop the reboot-modes from the PON node - fixed formatting and order of properties in dt-bindings - fixed naming of nodes in device tree Bartosz Golaszewski (1): dt-bindings: power: reset: convert nvmem-reboot-mode bindings to YAML Parikshit Pareek (2): arm64: dts: qcom: sa8775p: pmic: remove the PON modes arm64: dts: qcom: sa8775p: pmic: add the sdam_0 node .../power/reset/nvmem-reboot-mode.txt | 26 ---------- .../power/reset/nvmem-reboot-mode.yaml | 52 +++++++++++++++++++ arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi | 23 +++++++- 3 files changed, 73 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt create mode 100644 Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.yaml