From patchwork Thu Apr 13 13:17:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 82958 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1031551vqo; Thu, 13 Apr 2023 06:23:03 -0700 (PDT) X-Google-Smtp-Source: AKy350ZTFvpMPFz4g+5WuPH4WBykUrEumuPP4On4cjrKCFWd8qYPSL0eibXZsTSLh6tXjnhU6J/i X-Received: by 2002:a05:6808:2984:b0:378:c02:bd51 with SMTP id ex4-20020a056808298400b003780c02bd51mr1120686oib.33.1681392183098; Thu, 13 Apr 2023 06:23:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681392183; cv=none; d=google.com; s=arc-20160816; b=ph77P/ZvrA4F0y8vOKkf2TcTqfy8Zp67YVsE5zatRHpfj9bPYkn7d2BYDFcBGlNEkt ZjdNfbkN6gkVRG92s11L52BVeO9IqTiFcirJEOtIzDVr16Juvq1G6hQxGbKx1S1FMmP7 6MAYzLa0ovMoAZurIpm3qpzlSK8qPTs/vdshoddmD6d+1u2BxuoZKqTfdzfsqgoSFMlK gTA/jbqe4XAuGwtw8IJ0C6BfwyczBV4rH5Sc9JQaFBuSHXlO0kRU+hIKRp/I/D+BirDY cDKuNF535RqnddAyYfIfaIVBOzgUS6vKHo7nDsyODvUuuZ90KqscC6b1PKZ0Pkjtbmpm JNlA== 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=W5fFOxM2M8ye7OTBHtbOgOjz+8frsv+eTncE5p8viM8=; b=Ws4FJYv/oLgxrw57bgdvBPwphb90TmMILfxtZKyVHqEEsDZnP+AURzWIwUnG9v6M/X LyjRnl04+ELnm5O5ORfHi8cWKMU4sFg8s9w8RSNxxpJ/xAAPQS8R9OP+ogOYNg+b/fd7 zPlSAQvlx4ogghxqia4+9ahZXxdr/wv7kIszvBC57JyFME7C8RUKeR7NVylOFJwMCR+x GpVCOfPjEPRjgBeMBkDzIjqCqvfrsmsDvYsfyMxf1725msK9xQwUpMsmKrJlHZl6La6B DiftzU1euN4/fVGvKexZweMgzq9xkcWgac/xBHlv510KQgGcrb07GxpWNYFrz3VgSyGk Ph6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=T9BU71wa; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a10-20020aca1a0a000000b003891262cf5esi1787736oia.178.2023.04.13.06.22.50; Thu, 13 Apr 2023 06:23:03 -0700 (PDT) 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=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=T9BU71wa; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229870AbjDMNR2 (ORCPT + 99 others); Thu, 13 Apr 2023 09:17:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230414AbjDMNRV (ORCPT ); Thu, 13 Apr 2023 09:17:21 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29363E5B for ; Thu, 13 Apr 2023 06:17:20 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id hg25-20020a05600c539900b003f05a99a841so15947208wmb.3 for ; Thu, 13 Apr 2023 06:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681391838; x=1683983838; 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=W5fFOxM2M8ye7OTBHtbOgOjz+8frsv+eTncE5p8viM8=; b=T9BU71wavViVUYBMTDE+hcbRAc77asym97Q+vAZdeQ0/tt/SvQZu4WFosGI0lp1zDI /4ZUBDyrIVTMjE9tZRT6DXigjhxwaxshTBOZkuxX5shKdEzjR53fag+SEEJARuwGTak1 Fpob0YAdn9wBMUDHq8H+x7isdAAo/tSUCRx2JSBbs51pOVNhyCvuJjH5fD2j180PtURV mwKhNEaZwq55CodUwD1Qt/2Y67nDCt5ZEmuWdTEOdLAtKhMzHGDQfKEGIsaAaomw+Hkw C/D67FQB/eQa9XS0sDhRSP74aOQwzSYh67IZLOFwQEOzY3eU20/cjfRnHK9OKBo2YZvA t/4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681391838; x=1683983838; 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=W5fFOxM2M8ye7OTBHtbOgOjz+8frsv+eTncE5p8viM8=; b=BUIQN5aucqlD6FCe476tjERBqhxSrcwZN7Ps545QHqCR7tnDmgKcMiVEr48Sdf5/ti 0wpOdwGX27UNPOmzq58z9P4xTvb9x5recp9+jOCFqzhLSwFvMoqi2UIfDEpHPOQaDb7U zXJlP3ry2Ig41BuQ6iikyhuOAhfWYLgskIhYQHABsBXZ3TYs6ciVhxSBFD5qlNApPLH2 1KoL5SS/DeCH7Q0uQZs0l+yzd+OvI/oqdmKY5k6aCfcW9OzbpRb3Bkw4w3qKF/3LBV6T FbZV6BsXbWFOEiFVXypfeD1IJweXCCLyRYxBYnUyEpkxCMcsOAc0vuRZkEPNzJdsKAdt CGZg== X-Gm-Message-State: AAQBX9eih/X+4FbCnuF5gTRStGd/TaPYIMuEoNABgl8HKjWqjpsDfFgQ e0+yoSTLkN66Z5zGioP1/3iFqA== X-Received: by 2002:a1c:7905:0:b0:3ef:5fe3:c57c with SMTP id l5-20020a1c7905000000b003ef5fe3c57cmr1420333wme.23.1681391838576; Thu, 13 Apr 2023 06:17:18 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:814c:fc8a:da02:39ad]) by smtp.gmail.com with ESMTPSA id v3-20020a1cf703000000b003f04646838esm1796400wmh.39.2023.04.13.06.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 06:17:18 -0700 (PDT) From: Bartosz Golaszewski To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Arnd Bergmann 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 Subject: [PATCH 2/4] arm64: defconfig: enable building the nvmem-reboot-mode module Date: Thu, 13 Apr 2023 15:17:03 +0200 Message-Id: <20230413131705.3073911-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230413131705.3073911-1-brgl@bgdev.pl> References: <20230413131705.3073911-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham 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?1763067489514068935?= X-GMAIL-MSGID: =?utf-8?q?1763067489514068935?= From: Bartosz Golaszewski This module is used by the Qualcomm sa8775p platform for passing the reboot reason to the bootloader. Enable building it in the arm64 defconfig as a module. Signed-off-by: Bartosz Golaszewski Reviewed-by: Krzysztof Kozlowski --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e1063ab32658..5bdc9cede807 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -614,6 +614,7 @@ CONFIG_POWER_RESET_QCOM_PON=m CONFIG_POWER_RESET_XGENE=y CONFIG_POWER_RESET_SYSCON=y CONFIG_SYSCON_REBOOT_MODE=y +CONFIG_NVMEM_REBOOT_MODE=m CONFIG_BATTERY_SBS=m CONFIG_BATTERY_BQ27XXX=y CONFIG_BATTERY_MAX17042=m