From patchwork Fri Apr 1 13:50:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 555718 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9E6FC4332F for ; Fri, 1 Apr 2022 13:51:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346499AbiDANxA (ORCPT ); Fri, 1 Apr 2022 09:53:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241902AbiDANw6 (ORCPT ); Fri, 1 Apr 2022 09:52:58 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0A871C60F9; Fri, 1 Apr 2022 06:51:04 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id C7F6E1F41ACC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1648821063; bh=sQBT1nOGAS5f3qWyG27bCf0tVzLDuIZ4Dbng+BOtF9c=; h=From:To:Cc:Subject:Date:From; b=MI3Oc71fKUUdQd+OT25LDfxtxevGSQwW/GJsgMRt7sulhGBXWFUvVKph0aP1ZLdCi mQtsqnkHbpEEneizGW+JPkwYF5RHGebPPpDifolJ3BVgZwLFtqKc0ct6bnBRqN4Nm3 z5xEgpmwyL+iU/RX3ULFqpgxeRaXGnD7SjdYM3KrAsLzpQy8ocj/H+u/ZP2Cgrqu5P 36Xzw48F4+ayx+E03cJhJsVpnZFALeCxiUKKKL20nY8qI2kA359BZQdTWsctaQs8ql WIMdfdOTK4GtYyFjgC8nxNLn0NRLj472tWwa8FNOtGlQIUspcEpWPwO00ZWHy+3EnA StA2faYBr++WQ== From: AngeloGioacchino Del Regno To: lee.jones@linaro.org Cc: robh+dt@kernel.org, krzk+dt@kernel.org, arnd@arndb.de, matthias.bgg@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, nfraprado@collabora.com, kernel@collabora.com, AngeloGioacchino Del Regno Subject: [PATCH 0/2] Allow syscon to use spinlocks with regmap fast_io Date: Fri, 1 Apr 2022 15:50:46 +0200 Message-Id: <20220401135048.23245-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series adds support for enabling the regmap's fast_io configuration option for SoCs featuring very fast MMIO operations, for which mutexes are introducing a lot of overhead / latency. This has been tested locally on some MediaTek Chromebooks (but, of course, that requires devicetree patches that are not included in this series). AngeloGioacchino Del Regno (2): mfd: syscon: Allow using spinlocks with regmap fast_io dt-bindings: mfd: syscon: Add support for regmap fast-io Documentation/devicetree/bindings/mfd/syscon.yaml | 15 +++++++++++++++ drivers/mfd/syscon.c | 4 ++++ 2 files changed, 19 insertions(+)