Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1731832imn; Sun, 31 Jul 2022 20:08:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR67xwnTEcL3eytRSXgEXGLyqFukb1+jzR6ZR+c9xxu4FlKqvIZ5dHdlhFPCj1zhOt1oOkRk X-Received: by 2002:a17:90a:db4d:b0:1f3:11ff:9b74 with SMTP id u13-20020a17090adb4d00b001f311ff9b74mr17327454pjx.94.1659323318132; Sun, 31 Jul 2022 20:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659323318; cv=none; d=google.com; s=arc-20160816; b=zrFbsySirj4Df49cANQoqLfd/NfZZKvhRBsz+Fkv5nd/uRQQ7H4SRfXoDgf/IlL7XU XTpJjXuxSQCyzYw2k3o7Zmea24aREye+7XrDbr1nodO9vZNbwnDXij3iHxdoiLZIvWhY Tg6vAExG1eLEAzCj8VOIJRUl0KFmuB/mEG/JPFITqvoDh89LR+YdCwv6aso4nB/XwQvf nRnnwyoSjid88wklsknI8cT0C9k5eCTNBIsohBIdDRFpZBrk/aoASDZQJFLhqeE+vcmV NBxaZuWdAlOgBIaLDwNwnLHxoaCwD1pU8mU1DCwT7NDao7MQLsL0N97R3/1Y9Gt7blU4 F56w== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=XxoCxtmkFBHeeLZilKhCk3IDSCHUhmklYh5m1bb0aro=; b=pW+LFaPL2g1+IlMN+fq/MIl2SNH2Mo0XBOxN6YaMDVDKRTOSTswRJ17KF70PBPm1H+ stDlPyM/anM6v9g8iFoAvfWPUPBzv6oO38KJkA+uw0olD/BQcXMPY1vRhFQARRKww7VI J6+q5PX4N1KK6RXK3INmNG4C3+9Vm9E6q3y8UFjIy5q5hmo4k/pFjMphD20pg4b7dMOX XZNpc7mjASfgGsBqpxnli6y6Y1ReCKKavcJ2weE0abtD5Vkv44nLQpJQtu/vUDfzZAO+ 918+8P6qtkQ90vtcuEDt7tqOv/8ygXnXtNwfy1F+GS7muMT8SoZCQidSajx6k7Q6MbH4 ZkVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=AQp+l24p; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=WJK0YjhS; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y35-20020a634b23000000b0041bf784b050si2831207pga.182.2022.07.31.20.08.23; Sun, 31 Jul 2022 20:08:38 -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=@sholland.org header.s=fm1 header.b=AQp+l24p; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=WJK0YjhS; 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 S239043AbiHADFa (ORCPT + 99 others); Sun, 31 Jul 2022 23:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238263AbiHADFV (ORCPT ); Sun, 31 Jul 2022 23:05:21 -0400 Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F2FF2186; Sun, 31 Jul 2022 20:05:18 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id D311A32003F4; Sun, 31 Jul 2022 23:05:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 31 Jul 2022 23:05:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1659323112; x=1659409512; bh=XxoCxtmkFBHeeLZilKhCk3IDS CHUhmklYh5m1bb0aro=; b=AQp+l24pufoeCGNMU1bnLc4loOJ5rWuoBQ2KGq9w8 wHnA2EuyBsSzKQ+66LkZHPpryhPkL05tEPkBGRV7dmqXb4wCy1BABD7WskoiYzcR 275TkWENPgTKiO2ymIM3IwuSkq9TiDwKIZqv55rVbqWUULA7P2oQcymxEFR+Xy4y Fqpw3BogfFI1fsRQXaZ6cBoU2Bf7uDg/oitwPZbuxdMoV32FR9lY6j6ifMR4Usor t8hriG0nNvMOlV2hXsn6zVKbwAPTQULWhJyWTCr6E11pyd5FpMPwTLYHnJOlMDOG vBhix9n0uokjbifYsCU9Zw0/p77C/LUrpZ3xIHJ5crd7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1659323112; x=1659409512; bh=XxoCxtmkFBHeeLZilKhCk3IDSCHUhmklYh5 m1bb0aro=; b=WJK0YjhS57JbI6ZBbL2SquueeUnttMHSuAl0+YbX5FteKA+4SFR G2++qPRQIZc3mb3Pwr0QpKfo2UHtUG5JvV3DMecaRBNiHEMhG/D56Xbyl9Tw/bB5 QiioJ0fc/odJppf0sf1uaq84541BZ7Vlg8djrhYqGMULEzv44bse7IdjD1Nm1oBV CzpqURPTsNehQUwZuFULNYa2mGma7i0HjSYE3w0hCBp81yKIzDTaAUhuidUcW9YZ XlNcCaGn44sQ/JGc9Y9To+rw/vTdlAp6HpE5DREYLA4gkBaQ41qkVOCYJSRZzm24 DHM7R6mO6T9+I4acs9H+Qikr/zH8iqyKNRw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvvddgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepkeevlefhjeeuleeltedvjedvfeefteegleehueejffehgffffeekhefh hfekkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 31 Jul 2022 23:05:10 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec Cc: Samuel Holland , Arnd Bergmann , Hans de Goede , Icenowy Zheng , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: [PATCH 0/9] soc: sunxi: sram: Fixes and D1 support Date: Sun, 31 Jul 2022 22:05:00 -0500 Message-Id: <20220801030509.21966-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS 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 This series cleans up a few issues in the system controller driver, and then expands the exported regmap to support one of the pairs of LDOs built in to the D1 SoC. Eventually, we will need to update the SRAM region claiming API so ownership can be swapped back and forth by consumer drivers. This is necessary for uploading firmware to the R329/D1 DSPs, but it is not needed for initial bringup. Samuel Holland (9): dt-bindings: sram: sunxi-sram: Add D1 compatible string soc: sunxi: sram: Actually claim SRAM regions soc: sunxi: sram: Prevent the driver from being unbound soc: sunxi: sram: Fix probe function ordering issues soc: sunxi: sram: Fix debugfs info for A64 SRAM C soc: sunxi: sram: Return void from the release function soc: sunxi: sram: Save a pointer to the OF match data soc: sunxi: sram: Export the LDO control register soc: sunxi: sram: Add support for the D1 system control .../allwinner,sun4i-a10-system-control.yaml | 1 + drivers/soc/sunxi/sunxi_sram.c | 74 ++++++++++--------- include/linux/soc/sunxi/sunxi_sram.h | 2 +- 3 files changed, 42 insertions(+), 35 deletions(-) -- 2.35.1