From patchwork Thu Jun 25 23:34:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11627117 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 263441392 for ; Fri, 26 Jun 2020 10:37:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F243F20775 for ; Fri, 26 Jun 2020 10:37:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r5D29vmX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jCeAz2Zc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LsEcp4lh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F243F20775 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=n5bfWCRTkg3wsGTp9zjGuTb62En0qlQVqSwuRS+vh2k=; b=r5D29vmXAnjzdsKe4+IGK1gHi 3NDlctdzgnuCSLMIg5PjZrtH6dZr3qjaoy+0XcNEUtA29qnSFA2LDRrVtjEGpUD5C8bjRH75y8bvv 6kLZd6HTRQLuvvXbrcHCnGSbjHkEG8bE95hnRjPtB9d4eSVeBiPQSziuqyx5dgtLR4PaB2LBT0qJS nP9UlX7dm6VZWioV1VpCB8wAzzzBX1M5DJHrBjSG4RrJjXaKjOcfZOSOUIbk71Cxsxxj/jzoLzeo+ ioKocGss4v0LFr7EHUykUjc+9Sq0DxU4eE0XeKbd6e/EaKmq3Rav2lkPvqBlZjLEXzvMPJ9YbJ6da u7GLJNV9Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolhp-0007E0-GY; Fri, 26 Jun 2020 10:35:37 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolgz-0006b2-Q0; Fri, 26 Jun 2020 10:34:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=vKHBQB3/jo26y5/T/I0yc88OTlZYCgKjy3NBHl/V9tw=; b=jCeAz2ZcWjvIZVhsS0MdQ/ZDBx WdgB6YSqvIrFigc0KI48z6N5l4yPBG6Mdqk+JkLjwrkTLUflD2xfY5FO0kuBy3O5MPab9niOCvWez NySvkrlf+9G+BcGbKmAWyl17emaDDmcuWfrA64aJdXeY7vqk6ZC8gwFtSnuFjQpd6OkSkQpg2E/4K DOHn9lAB1b+NbdjAonMhDdb4TELSoKGndHKKRJtFOHLgBomMRYnRX2hR7RQO8rYWwrK3neo2Ep9Mw Rcgqrxnang5sTmlVVNAOZsLpLooggamxH97bQO623C/amWqyA4sbN5l24RYWHrNbIzQROcdQH+4sY R3M292Tg==; Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jolaZ-0001HP-4K; Fri, 26 Jun 2020 10:28:10 +0000 Received: by mail-ej1-x641.google.com with SMTP id l12so8819520ejn.10; Fri, 26 Jun 2020 03:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vKHBQB3/jo26y5/T/I0yc88OTlZYCgKjy3NBHl/V9tw=; b=LsEcp4lhXTEnzdETIobnSRMHsm24mDS3VIMOZMC/8uJnxwIMITbOE2XdyblGvp8+gE +HovlwNh1FCKi1Oanzk4/WwJsbI3FjLTTkSIE5+y5KDA0MmG8xh8aoHMdb52VO5bCnUy nC9XcuxSq85AbHpzx9rYtcRqhnsKCHwLrKgyH5bnGjhZcR753Xi9KyoJZtmp0WOQ6YkB /LMvg3ZsnPCqHuEPUINJdpZuqSTyirXGbfX9rH0vMB8HgpWVXnVXxMnuhyLyVNBats1U aoLUX6Y9vmlflNwYFooN+CfxcYcFVOpubrCDPdBkpHj9uMO36rVaeN8HC28Jb7brwkOS 6axw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vKHBQB3/jo26y5/T/I0yc88OTlZYCgKjy3NBHl/V9tw=; b=BtsQoFPp371ChZ4N7imaNskyuM4eU0011jMkxrqsU4Cas3b066OprGti9pN9rTYsvK uK+PBZd88ufR1o0CMf0scdUGEALBjHurt0RR4EnoTN/GjGRCvud7MV0x7M0ug6YaAbK6 0jqi2vZzryS9JPeipTxwWhDdwQcfYCRAMBSREJgD4k5APwBWoALQOluPDSUpXrmsKGPm pquOnWyqi6ClE2HkDPRBaY4RB2xXUqFPpAJEal8b0iP6zcHF4ZJ6KQX7ErhowhVQVEQn +TT9edQ89/lr2svfCujNff3/EvhMDYLsxi3VgV4pEd3BwZAJoSjokctzMxHyagetzDmT vBIw== X-Gm-Message-State: AOAM531Z0KNEiApP9remAYQcdvcm1XVbvl2r3QXPz9t4zU/155BKGd6H TW8dy/DfhyxVZFNerRu+d534kUiPXoI= X-Google-Smtp-Source: ABdhPJzQ4NhltLSCtwQR4pKlfKRWu2vGwjE43Utf+zo4JjW7Zi5dPste6QsnY5EWhVYnwe3OyTbCBQ== X-Received: by 2002:a05:6402:1c8b:: with SMTP id cy11mr664932edb.122.1593128073102; Thu, 25 Jun 2020 16:34:33 -0700 (PDT) Received: from localhost.localdomain ([188.24.137.55]) by smtp.gmail.com with ESMTPSA id u2sm13699184edq.29.2020.06.25.16.34.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 16:34:32 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Subject: [PATCH 07/10] arm: dts: owl-s500: Add I2C nodes Date: Fri, 26 Jun 2020 02:34:19 +0300 Message-Id: <50b4780dfcef8d5e2bf0f4f32f6ccf36c9acc782.1593124368.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200626_112807_956922_0A8AD348 X-CRM114-Status: GOOD ( 11.36 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:641 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cristian.ciocaltea[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add I2C controller nodes for Actions Semi S500 SoC. Note the Actions Semi Owl SoC's I2C driver seems to be fully compatible with the Actions Semi S500 SoC, even though this is not explicitly mentioned in the source code. Hence, for the moment, enable the I2C controller node via the "actions,s900-i2c" compatible string. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index 778775ac42f7..15c11af530ea 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -193,6 +193,46 @@ cmu: clock-controller@b0160000 { #reset-cells = <1>; }; + i2c0: i2c@b0170000 { + compatible = "actions,s900-i2c"; + reg = <0xb0170000 0x4000>; + clocks = <&cmu CLK_I2C0>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@b0174000 { + compatible = "actions,s900-i2c"; + reg = <0xb0174000 0x4000>; + clocks = <&cmu CLK_I2C1>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@b0178000 { + compatible = "actions,s900-i2c"; + reg = <0xb0178000 0x4000>; + clocks = <&cmu CLK_I2C2>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@b017c000 { + compatible = "actions,s900-i2c"; + reg = <0xb017c000 0x4000>; + clocks = <&cmu CLK_I2C3>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + timer: timer@b0168000 { compatible = "actions,s500-timer"; reg = <0xb0168000 0x8000>;