From patchwork Fri Apr 29 10:52:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 568404 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 988BAC433EF for ; Fri, 29 Apr 2022 10:52:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237696AbiD2K4D (ORCPT ); Fri, 29 Apr 2022 06:56:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237725AbiD2Kzz (ORCPT ); Fri, 29 Apr 2022 06:55:55 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E4BD4EDEA; Fri, 29 Apr 2022 03:52:33 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 411FDFF808; Fri, 29 Apr 2022 10:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1651229552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=47f5CkZ51Myfo+gccHSm9Z0rncUryFnISEYnNJWOrTs=; b=UPGki2FZclsfBmCdsbMiTTjrDUacq2Si4WhmmKVZ1R3o+7OHmsZtSQ1bbqVfjnjvx53FER fFvOjtEqi5Et/H57h1hH4uM/tKH4mmhalyZjr9iJ3FxgLzIGtPHyveBTAooQFSIyXgSA6M 2OTCwRT5cRI5BctQwaZ2d0jiiOngIuVMFM8qCPfGbYcFGDvk/U/x7yjTfseXkUOUW7oStI RYOrzljRIUAs2+X/PDsWHq0u1pJ6AQdtAK450uICdqrSDMjmbEXCxG0qSa7s/hxdMohL5d 8IGDh/a25kXwzsQP1gXzcBXFLtv2kc8Qhb9WiMTUqFqPoMP6bm5XRu0HY8upJA== From: Miquel Raynal To: Richard Weinberger , Vignesh Raghavendra , Tudor Ambarus , Pratyush Yadav , Michael Walle , Cc: linux-renesas-soc@vger.kernel.org, Magnus Damm , Gareth Williams , Phil Edworthy , Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, Miquel Raynal Subject: [PATCH 0/3] mtd: rawnand: renesas: Runtime PM use Date: Fri, 29 Apr 2022 12:52:26 +0200 Message-Id: <20220429105229.368728-1-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There was a small mistake when first introducing this controller driver: the power-domain property was missing in the device tree because there was only one controller supported at this time (UART) and this is a Synopsis IP which did not support power domains. The idea is to always use these power domains when available, so let's add it to the bindings, the DT and use it from the driver through the runtimpe PM API instead of doing raw clk API calls. Miquel Raynal (3): dt-bindings: mtd: renesas: Fix the NAND controller description ARM: dts: r9a06g032: Fix the NAND controller node mtd: rawnand: renesas: Use runtime PM instead of the raw clock API .../bindings/mtd/renesas-nandc.yaml | 5 ++ arch/arm/boot/dts/r9a06g032.dtsi | 1 + .../mtd/nand/raw/renesas-nand-controller.c | 58 +++++++++---------- 3 files changed, 32 insertions(+), 32 deletions(-)