From patchwork Thu Jun 25 23:34:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 11627167 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 54E5692A for ; Fri, 26 Jun 2020 10:56:46 +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 2D592206DD for ; Fri, 26 Jun 2020 10:56:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="26Rio4aE"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ItiEF2Rg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D592206DD 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=pFaqe/QIG+B9tLg0/xx1IbqVIJ3NG/xyCDn0wDyI4Bw=; b=26Rio4aELFl91ImprLJ1loZ15 Yl6UGGWmjrMCNPImFE/gUYOB9H/lPZ2hib2XHE2Xwl236E+7hKdDJ0Q34A5c29U0H5XXadvNOp2Jf sb7XxG2G3rF+NtyH7usQyiEm+e4dfLB/hEZHQWYY4asTkMV+cwf5dEuUzs/DydJKndoW5yK0FUMaQ AXc+wCyClsLxVCnZE9XHgylgpfo5/VdZM4KhVxf3KVa67zi5p0fmVZxFFWNzxeZoU5T8hF+GMA2jw QdppgQpL/ED7Tj0Llkz0Hphgj3cZIx4b5iiWTESa1G4U3zjbNgYj+/Y3p+WIKqwzvf6gpXUbmGv7K yE4lvanwA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jom0i-0007lD-At; Fri, 26 Jun 2020 10:55:08 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jom0N-0007b5-Lm; Fri, 26 Jun 2020 10:54:56 +0000 Received: by mail-ed1-x542.google.com with SMTP id t21so6545357edr.12; Fri, 26 Jun 2020 03:54:47 -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=zuENK659rKG+a5Ma0hucJQTrbZkZ4ohQwxPoDYc8kWU=; b=ItiEF2Rg0/b2D5yRBWM2F2qjCjk7qcvp1qgb7+GNATxfYk2gMrFlIbeGmqjd94//Tq XAl1tot+kbcRHyBee72ySllucM9RlGwvi7XVxDlnWdfi3+m5fvLjDrf6t8lO/b3uAIj+ 0dVKQCoPSlWyHusDObaGxk57DvYIQymn60iSNIyjh6T2TcQvn+Tl+jUVLrQgwy2tsdBb CM0W2jtC+mmNVCKe9pr8F7vGn5WxPfled/yo9eA+oFKzaNKQcfuACTH1oYeeP84Gph3L g0u4hOBaYlURsBO05N2Q8pvVj3nFasqmCELcJxjQvA31+COmxfhG7NZxrR25wlVUWGpj 5zgg== 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=zuENK659rKG+a5Ma0hucJQTrbZkZ4ohQwxPoDYc8kWU=; b=mp76nLrujxxhLHnFov8ta1vkZmANTB1hfkpM/LfMzjr62Fy6EBmKYkP6o4wKD7ALvM UQtuVuXGt6CC91SgZMSw2UUUFBCIhjKJZgVFL/6v2QyIhC3dHXCpQ97GzBYIuXBu8qtE Wm9hD0c87VKO2DjWYPFCxRr55RuC3eaAkIs5rwgEQe5h+S4A2miSTnehN2hS1pOfF9eC UGs7ANca7wBE5DPwSZnWT9Ss7cvVRhMvR+ppqm+LMUMSeeU57TUrDcxhr9Daz3h47eJL Wq+n0ZLB4LR9cf1ktYVoNUpGyILwQOrMGdIIxXiaaG0ceCT5iDcqcJK3kmHET6f78IM0 fjYw== X-Gm-Message-State: AOAM533Zyxu18Kri2bdySR1O9idzqmkIqv8IFBsfhKgB11L3zrd/HrC4 PGnp0NXz3rowmdwpZg/TNiahNt3lB2k= X-Google-Smtp-Source: ABdhPJxrSbfKOi8QkMG1n+35xPESQM1sYQkVh9IPWK7OVO1FpoMgGmV9kSOmyYYbz7Cip/0hmQb6eg== X-Received: by 2002:a17:906:2304:: with SMTP id l4mr200024eja.104.1593128076604; Thu, 25 Jun 2020 16:34:36 -0700 (PDT) Received: from localhost.localdomain ([188.24.137.55]) by smtp.gmail.com with ESMTPSA id u2sm13699184edq.29.2020.06.25.16.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 16:34:36 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Subject: [PATCH 10/10] arm: dts: owl-s500-roseapplepi: Enable I2C0 Date: Fri, 26 Jun 2020 02:34:22 +0300 Message-Id: <564bbfeac8c1ed6f103bf1d9be0550856778244f.1593124368.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) 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:542 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cristian.ciocaltea[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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 pinctrl definitions for the I2C controllers used in RoseapplePi SBC. For the moment enable only I2C0, which is used by PMIC. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500-roseapplepi.dts | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500-roseapplepi.dts b/arch/arm/boot/dts/owl-s500-roseapplepi.dts index 0a916b6c83a8..f5d515ba9bdd 100644 --- a/arch/arm/boot/dts/owl-s500-roseapplepi.dts +++ b/arch/arm/boot/dts/owl-s500-roseapplepi.dts @@ -37,7 +37,50 @@ sd_vcc: sd-vcc { }; }; +&i2c0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_default>; +}; + +&i2c1 { + status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_default>; +}; + +&i2c2 { + status = "disabled"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_default>; +}; + &pinctrl { + i2c0_default: i2c0_default { + pinmux { + groups = "i2c0_mfp"; + function = "i2c0"; + }; + pinconf { + pins = "i2c0_sclk", "i2c0_sdata"; + bias-pull-up; + }; + }; + + i2c1_default: i2c1_default { + pinconf { + pins = "i2c1_sclk", "i2c1_sdata"; + bias-pull-up; + }; + }; + + i2c2_default: i2c2_default { + pinconf { + pins = "i2c2_sclk", "i2c2_sdata"; + bias-pull-up; + }; + }; + mmc0_default: mmc0_default { pinmux { groups = "sd0_d0_mfp", "sd0_d1_mfp", "sd0_d2_d3_mfp",