From patchwork Tue Apr 30 04:32:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuanhua Han X-Patchwork-Id: 10922807 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1716B1515 for ; Tue, 30 Apr 2019 04:31:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE53428994 for ; Tue, 30 Apr 2019 04:31:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E1DEC28A49; Tue, 30 Apr 2019 04:31:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A19C28994 for ; Tue, 30 Apr 2019 04:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=LoSeHIVebyYOp+px2PEQ4GwgxGzEXSZNvAhrRkY9U7w=; b=IubIgWy5XxN0gLxV2EvE/OwnFt ar2z71zWHyH9+Dna0aUa14kDFfiXRnsBAlONTfsOH/bnSGv2HVirZ+YOtRS+1EbxoiEFqJ4p2Akpa eWAyttaTpb3lireYAkP3WOAA72NYzKJkDmxyFvWtmNub4JHqB9gbfnwJ/WUjmUgKbC8u1V4F62iT1 dl9+hGIaFc3LqJPADlNrjxqzxh3O6B46pKlI6MDxl+5t/MNCkDOFDRBiilirmCnRZNN0w+bFbn09k SUJ2XeOZNzvvhiCdpQQjwpFPGofHH364PL6XKKm8QxJJdS2dDp/LpD3pdFVsu1CufuDkSfukK7o6u PqH2Q6vA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLKQZ-0001u2-4e; Tue, 30 Apr 2019 04:31:35 +0000 Received: from inva020.nxp.com ([92.121.34.13]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLKQV-0001sf-7q for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2019 04:31:32 +0000 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0FE841A0013; Tue, 30 Apr 2019 06:31:30 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 45E801A00ED; Tue, 30 Apr 2019 06:31:21 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 65CD840318; Tue, 30 Apr 2019 12:31:10 +0800 (SGT) From: Chuanhua Han To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, leoyang.li@nxp.com Subject: [PATCH 3/3] arm64: dts: fsl: ls1046a: Add mul-value property of the i2c controller nodes Date: Tue, 30 Apr 2019 12:32:42 +0800 Message-Id: <20190430043242.29687-3-chuanhua.han@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190430043242.29687-1-chuanhua.han@nxp.com> References: <20190430043242.29687-1-chuanhua.han@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190429_213131_441623_6F2032E0 X-CRM114-Status: UNSURE ( 7.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, sumit.batra@nxp.com, eha@deif.com, Chuanhua Han , linux-kernel@vger.kernel.org, linux@rempel-privat.de, wsa+renesas@sang-engineering.com, linux-imx@nxp.com, kernel@pengutronix.de, u.kleine-koenig@pengutronix.de, l.stach@pengutronix.de, festevam@gmail.com, peda@axentia.se, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP According to LS1046A Reference Manual, for the i2c controller, you have up to three MUL options available for all divider values. Therefore, we need to determine which MUL to use in the device tree for driver use. The "mul-value" property provides which mul is used in our driver. Signed-off-by: Chuanhua Han --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index b0ef08b090dd..373310e4c0ea 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -385,6 +385,7 @@ dmas = <&edma0 1 39>, <&edma0 1 38>; dma-names = "tx", "rx"; + mul-value = <4>; status = "disabled"; }; @@ -395,6 +396,7 @@ reg = <0x0 0x2190000 0x0 0x10000>; interrupts = ; clocks = <&clockgen 4 1>; + mul-value = <4>; status = "disabled"; }; @@ -405,6 +407,7 @@ reg = <0x0 0x21a0000 0x0 0x10000>; interrupts = ; clocks = <&clockgen 4 1>; + mul-value = <4>; status = "disabled"; }; @@ -415,6 +418,7 @@ reg = <0x0 0x21b0000 0x0 0x10000>; interrupts = ; clocks = <&clockgen 4 1>; + mul-value = <4>; status = "disabled"; };