From patchwork Tue Aug 27 15:16:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 13779668 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 CAB1FC54731 for ; Tue, 27 Aug 2024 15:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=XrbQYJ32a8CnFchpdahZdNHDXwIROgDJ5nvQGsFAb2g=; b=Kvx6V/I8JBw0ol+U1vY8J82QYF tAcItKOYyA+mC/ucFgYD4N7/KAqCcjGb8klKqct33YnM1itTdX0w85YM4aHTjvryOdwPdq/n8K3wT rdz16vE/VNg2myGmHRBiiDp1k+dx+aqZLWeK5Wm/5KZBty1qKkDBfrCfyVagaGDMNhdsQW9SbOwoD Eg6ySin62D1ft6ucAjZ4IuQbcb0K80c7JhQUm/eahvYGqrV/K1c7/Sj2P2LNY1M3EI3jsAOkcMXeK DacYGCVopVacq+H3pM5PGAe3qylLSeohbDg4Nl8yBmNSS4bQI5IuJXGCgg7gv0SZezogB2G5zJ1Bv 2wiSufsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sixwy-0000000Bq05-2m89; Tue, 27 Aug 2024 15:17:40 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sixvp-0000000Bped-2dXD for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 15:16:31 +0000 Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id B298087FA7; Tue, 27 Aug 2024 17:16:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1724771788; bh=XrbQYJ32a8CnFchpdahZdNHDXwIROgDJ5nvQGsFAb2g=; h=From:To:Cc:Subject:Date:From; b=Y5K8yEP8AzbISORBJmAmrl4F48EJ71Aq3Ccf9E41o+ip4wyTBWdLpFTBq/qgC5GPb +2utTLwipBUh1lnFm07w5AURjJlHAE/ok+HUh4mnUCqaybvnZsQ5rK9bHyFToxqbVc utft2puKKRH5mJjNqyMupzfq6uy260K1CUG7UjGPoRnsP4lGXEyEDlq9s7Rg/jEnMj rsMbxMwSuUVE7EM1QGQmpCQtzpbQiyTa7zsE5vx5lU9gIitXT2FcTt3/FPDktwqbEN 2b7Cg27hO8TWEG94pFDwukqpUGttKC/KFo8qaEWpxBH9T+aRwSQU/2F0+hfDBFAa0v hj6FudUwbNXuQ== From: Lukasz Majewski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Marek Vasut , Lukasz Majewski Subject: [PATCH] spi: dt-bindings: mxs-spi.yaml: Add clock property to mxs spi controller Date: Tue, 27 Aug 2024 17:16:16 +0200 Message-Id: <20240827151616.2256401-1-lukma@denx.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_081629_846254_4B1C9511 X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. 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 The controller can have 'clocks' property to assign correct clock during configuration. Signed-off-by: Lukasz Majewski Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/spi/mxs-spi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/mxs-spi.yaml b/Documentation/devicetree/bindings/spi/mxs-spi.yaml index e2512166c1cd..4790d7b37efc 100644 --- a/Documentation/devicetree/bindings/spi/mxs-spi.yaml +++ b/Documentation/devicetree/bindings/spi/mxs-spi.yaml @@ -34,6 +34,9 @@ properties: description: input clock frequency to the SPI block in Hz. default: 160000000 + clocks: + maxItems: 1 + required: - compatible - reg @@ -51,6 +54,7 @@ examples: compatible = "fsl,imx28-spi"; reg = <0x80010000 0x2000>; interrupts = <96>; + clocks = <&clks 46>; dmas = <&dma_apbh 0>; dma-names = "rx-tx"; };