Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2093370rwb; Sun, 14 Aug 2022 21:14:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR4s0r/dtCM1u2f/8BTot7ZmqKP1f8qAOcR7F1DGa9hVhvivm2VYorKE9O2hhLJwlZSsHjhh X-Received: by 2002:a17:907:2808:b0:738:596a:3bae with SMTP id eb8-20020a170907280800b00738596a3baemr962955ejc.446.1660536863737; Sun, 14 Aug 2022 21:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660536863; cv=none; d=google.com; s=arc-20160816; b=Dban/KIMjROkbnbvYAgBJf0x/M7acIobaA0AcFyV+SU1zXWTiiTYcm28Jp92P6iauV g3qsduXdY9oAfuiE4BGXQgkDY+ws4jwAXcOG409DMnC/QhiYezyJIl6Nmw7btaK+oSXE CnaFrhUqSqpvTZR3KJ/Q25vDtzEamKQ6x9M9frihCevvs2noJ4PToIezvctUc43NoCFe LgL8jS7b/PcO2+P+L6JwZYus5mWH+L6NAOO9cA8xIbmIo3jU+I9r9Xhi90eNIGheN9wY 3dtHIV1DVchvw0OMn5PNbDuDoZZ2S+sryd/1ybPD8xJfpqGUellP6HXGX6RKszTDXkxX aXlA== 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=BLGvhPXJZwyKlOHCPFA0QFQvRdu4sjNkhCzDGkbfI/g=; b=DHJaUHUzlFSdVs8qItjQUDtYpKwg98LU700juUTTio6Fvz21am0FX6Zq7wGhIHq/ng 24tQ7Kp1XsYQpkN/gp6Heuk0I7yCGeenybnOwsBJ2ybn3QiyUySbkg8JV+2fB6VFP4QJ hmQVIQtrSaYaXn8eWap6OMccE7jh375pwgTLbeBNPohh9PsrgwnULmAW68HomvZAJ8+Q msYLJbpYMRCQ0+GV2c5XgX/ozT67DWD0mvzU5lx8TSQPRx25KqElI394eiASPl6sabtX hInpWvW+9FuPilYQeaRh2tnCzjCNlmXr2ZsxG5EmMdvAxsgMLJOzZOZadZ0GNR0k9qHB MmUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=geEopUJJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=3EjOrYzX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a50a6c7000000b00441d115ed67si6891186edc.494.2022.08.14.21.13.57; Sun, 14 Aug 2022 21:14:23 -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=fm2 header.b=geEopUJJ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=3EjOrYzX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232281AbiHOEM7 (ORCPT + 99 others); Mon, 15 Aug 2022 00:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbiHOEM5 (ORCPT ); Mon, 15 Aug 2022 00:12:57 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEF2813E39; Sun, 14 Aug 2022 21:12:53 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 49F6A32000EB; Mon, 15 Aug 2022 00:12:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 15 Aug 2022 00:12:52 -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=fm2; t=1660536770; x=1660623170; bh=BLGvhPXJZwyKlOHCPFA0QFQvR du4sjNkhCzDGkbfI/g=; b=geEopUJJtlAkPnRH3NSENE0S+CXA6KECTI8oRgBXb VOpePec/5bzDFoeFD5eUWSmC7hOeCtbiiiOK6jWMLtF5YLh04hRR8eA1rX6XxJWe 5WyPn4q4Q38Htmvpmb69smOazGRCmnzGvPqxZ1lNOulH/LYTaVpdX8y/xc5aluo6 JlyrACs0cFiHN0AKNQ62ZC665r/oj7W6wgjD7B4QtDAPoKx4wocpRylHj52VFiHe qJG2ODhaFn3QLeeWDFT8MkfFJJ3mgs5cXn5yjCDPoDTMjDp0dmnIgQcIW4wG84Z3 xWfCcud+2iwUp10daZ+fAWoKQ7S99JkBmMcpoCyBL/F6w== 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=fm1; t= 1660536770; x=1660623170; bh=BLGvhPXJZwyKlOHCPFA0QFQvRdu4sjNkhCz DGkbfI/g=; b=3EjOrYzX6+bXout+6iHugtmlSio9O5YB3rPS7spf4yMt4OejPpM TgtVODs55ytfAJEumyrChHD7G6AAnh2LnRSQqNIt8nfbuJxbZCd2h7wl4HpA6uH4 PEqRgY7AKgig41CmxLZc984uP3BMl/GLVv9JFna1/57lUBf2LIC0jkx53HSnW7aj j8cEtYfWEU804eyCAL9nSPPs6iL0O/TFgjfTy8fv/PTtQ9GLAg3ndvbz5HTa8jne CO9hNwhVJE+Fo3H439KPZFbQtTAINwxIrQd7mu/j0rkCh/2G+xq2A6PqcO6gF8D4 HUR0yo1jOh29qRy2pmwNzduziMAGZykY7uw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehuddgkeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepkeevlefhjeeuleeltedvjedvfeefteegleehueejffehgffffeekhefh hfekkeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 00:12:49 -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 v2 00/10] soc: sunxi: sram: Fixes and D1 support Date: Sun, 14 Aug 2022 23:12:37 -0500 Message-Id: <20220815041248.53268-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,T_SCC_BODY_TEXT_LINE 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 will be necessary for uploading firmware to the R329/D1 DSPs, but it is not needed for initial bringup. Changes in v2: - New patch to first clean up the binding Samuel Holland (10): dt-bindings: sram: sunxi-sram: Clean up the compatible lists 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 | 82 ++++++++----------- drivers/soc/sunxi/sunxi_sram.c | 74 +++++++++-------- include/linux/soc/sunxi/sunxi_sram.h | 2 +- 3 files changed, 73 insertions(+), 85 deletions(-) -- 2.35.1