From patchwork Thu Jun 15 17:48:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13281616 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 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 6FEF5EB64DA for ; Thu, 15 Jun 2023 17:49:25 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=7VNFphhYu/k0OpPKacU8KAVFCEaKjL+AEK1eEWzTrV8=; b=vBq +tgSZaOmgXMq8eFtD5TtLnl6BlRUV1I/0urGDDgWc5FcqOwZWZsWsOcxPnzqZr3h3KFk0johprhPx Zh778V8C5LV4iXw0xGu9Uu5FzVAn3GVPMqIxt/gNclhGvtqZhl24L4MU7TyUzTUM6hhKlwxIR1y39 b6pl0yGfwCre5/B1fjwx4w0FDUZGZN5i84kHiwBOkvqPW7yQGCa1JU4pjIxUsSLSnJbtmNB8nj2cY 3KE5HQPlxsvCpiN+/Ya4PrGELra/YFMXpdARwtfhWJLPXQgLl1Njhr8ICgENjlobppFlKdruPP7SV /wQ/kSD9CaGGyKejzRaMDLgCh0bSjtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9r5m-00FeWT-00; Thu, 15 Jun 2023 17:49:06 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9r5i-00FeVW-2D for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2023 17:49:04 +0000 Received: from mercury (dyndsl-091-248-208-152.ewe-ip-backbone.de [91.248.208.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 88F9A6606F6E; Thu, 15 Jun 2023 18:48:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686851338; bh=SLeuROCJRaxby8+GxtmF6Jitvh7OaProeRiGkN5+RuE=; h=Date:From:To:Cc:Subject:From; b=oBlh03bLbAU5mp+avvQEfFt1QGqbs9OeDoFLIeqwCoC392BuGNaz8uO1eSTZReaUQ qwG4OxRv6eCXeL2Lb6fmDOffgYAA/+ugbTWVfwJQq1rjdJVTxQ/tmcR77bkYBNl3Rp F1UmUaX17P78/A8gNB5cfxW3GHNECa2JTlTURCSvcdNVIceO4f5CS2yqwyOACdjTIc FZv/I+jLaD/0cwBi++/l+Cu924O7PfgZWJIRrzjwD164QbrmoZEVJTbVqlIAGzZXxe NDo3kAjZ1ZWK2QrQUx3A1ZFNxJAD0+agwuGOeVTy4UQKJOoCPku6upY6XmsnzhuXNI tsqiE/sdGEHeA== Received: by mercury (Postfix, from userid 1000) id DFF4F1060DE4; Thu, 15 Jun 2023 19:48:56 +0200 (CEST) Date: Thu, 15 Jun 2023 19:48:56 +0200 From: Sebastian Reichel To: soc@kernel.org Cc: arm@kernel.org, linux-arm-kernel@lists.infradead.org, kernel@lists.collabora.com Subject: [GIT PULL] ARM32 RK808 defconfig fix Message-ID: <20230615174856.6z7ft3myebjlulen@mercury.elektranox.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_104902_901846_03DA50A3 X-CRM114-Status: GOOD ( 13.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Since I did not get any feedback for the defconfig patches from [0] and they are fixing a KernelCI regression (Rockchip Chromebooks no longer boot because of missing PMIC driver), I prepared a pull request with the defconfig change instead as suggested by Tony [1]. It consists of the rk806 immutable branch prepared by Lee Jones [2] and the multi_v7_defconfig defconfig patch. I will send a second pull request for the arm64 defconfig. [0] https://lore.kernel.org/all/20230518040541.299189-1-sebastian.reichel@collabora.com/ [1] https://lore.kernel.org/linux-omap/20230604060436.GT14287@atomide.com/ [1] https://lore.kernel.org/all/20230515152425.GV10825@google.com/ Thanks, -- Sebastian The following changes since commit ac9a78681b921877518763ba0e89202254349d1b: Linux 6.4-rc1 (2023-05-07 13:34:35 -0700) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-misc.git/ rk806-defconfig-fix-arm32 for you to fetch changes up to 6053cda09ba5398ef854b2bb3a9ffcde19854b61: ARM: multi_v7_defconfig: update MFD_RK808 name (2023-06-14 19:28:35 +0200) ---------------------------------------------------------------- Sebastian Reichel (10): clk: RK808: Reduce 'struct rk808' usage mfd: rk808: Convert to device managed resources mfd: rk808: Use dev_err_probe mfd: rk808: Replace 'struct i2c_client' with 'struct device' mfd: rk808: Split into core and i2c mfd: rk8xx-i2c: Use device_get_match_data dt-bindings: mfd: Add rk806 binding mfd: rk8xx: Add rk806 support pinctrl: rk805: Add rk806 pinctrl support ARM: multi_v7_defconfig: update MFD_RK808 name .../devicetree/bindings/mfd/rockchip,rk806.yaml | 406 ++++++++++++++++++++ arch/arm/configs/multi_v7_defconfig | 2 +- drivers/clk/Kconfig | 2 +- drivers/clk/clk-rk808.c | 34 +- drivers/input/misc/Kconfig | 2 +- drivers/mfd/Kconfig | 21 +- drivers/mfd/Makefile | 4 +- drivers/mfd/{rk808.c => rk8xx-core.c} | 352 ++++++----------- drivers/mfd/rk8xx-i2c.c | 185 +++++++++ drivers/mfd/rk8xx-spi.c | 124 ++++++ drivers/pinctrl/Kconfig | 2 +- drivers/pinctrl/pinctrl-rk805.c | 189 ++++++++-- drivers/power/supply/Kconfig | 2 +- drivers/regulator/Kconfig | 2 +- drivers/rtc/Kconfig | 2 +- include/linux/mfd/rk808.h | 417 ++++++++++++++++++++- sound/soc/codecs/Kconfig | 2 +- 17 files changed, 1465 insertions(+), 283 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/rockchip,rk806.yaml rename drivers/mfd/{rk808.c => rk8xx-core.c} (71%) create mode 100644 drivers/mfd/rk8xx-i2c.c create mode 100644 drivers/mfd/rk8xx-spi.c