Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp123122ybt; Thu, 25 Jun 2020 17:05:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCyXJhJEvbalwo3k17k8mq7blzmq05Q0VOoCgYxFFPsCayzPjmoWsdcs2QSoEXX2KJY2yZ X-Received: by 2002:a05:6402:1285:: with SMTP id w5mr764804edv.73.1593129900301; Thu, 25 Jun 2020 17:05:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593129900; cv=none; d=google.com; s=arc-20160816; b=mImCpuxTAxwlN4DlPs5AMKhia2mYVt7SSnRPOVHqaRBxdgsnk8FtImTPKjoOHPxX3w hC+QxxCHD255qJuIR1oHOSxuTeK4UwWLZSz7b5MEM+CU9NcBLIHzQS44g8oYrfZsrw6i lM1RrhJ0ACF8FbqZp8VsdmvVtE7FCVOcgH8zkKt/D4tEn5CJoMctIapJg6J+pJEL2jGE z01j68o4tNq+0xuI5rTep9YTuFmosHesm39Ri3OVaXjxLyvPz20VFBtMVoCbF0TMsfmP quA+8GO3X11VKbJxrHETS2PCGCe63z8ccsWzLzn3FEwish0ySeIXd6uV4ugoNZahohE1 bF8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zuENK659rKG+a5Ma0hucJQTrbZkZ4ohQwxPoDYc8kWU=; b=WY3azk9iO83o2dz9TBds5GPoSMOdqNbuJdT6qa86Ldf2b7PXyGu608TuWLtBZR2JHs 4dhY1i9ib6MOM60vuno1t27jDU4hlktywJu8js8J02axR/5QGgBQC+/5ipEaAIPwEx/D SkjbVvDa6FKMGFEQw5SoZAzQUSHydk4uwmIlxbrOPCrH51Dyz+RwYb3ZAvODZcU5tGlH hEhjBDuj4a64pBYd7mc0+j/QRxYtV6X06bS5EICjOzoyGWI7NK0mDWyFUZA9kEQHXbY3 tQdZRoBOuwBEXdkMnLDX6ftfuVY5C9eLQKj/caZwczRjL1iuAAo5LFp6Mx0tYh9UOpQA 82Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ItiEF2Rg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si13582641eju.726.2020.06.25.17.04.36; Thu, 25 Jun 2020 17:05:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ItiEF2Rg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726022AbgFYXex (ORCPT + 99 others); Thu, 25 Jun 2020 19:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbgFYXei (ORCPT ); Thu, 25 Jun 2020 19:34:38 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA81FC08C5DC; Thu, 25 Jun 2020 16:34:37 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id a1so7582697ejg.12; Thu, 25 Jun 2020 16:34:37 -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=Aek34AaQVdKJ2ghRfRr8XRhC/3HqrSVSVauUz1GmXKA9Om/w9ilKKBioY4Kj/noGK4 cAX0SqNqjLbNImHqCDDPGfmLBlVAeeSKuzH0kyMVLC8oEsYdKqGxJHlZ9uxhs1iqsFFq I+8wqwYeFxoEKrTW298veEDQ1bTQy5pfLLIdDgzEvk3e0R5sBHKRuPl/BXittFnHhBXE 5+CJikz0oRCKKAYdsB7qhIEBZaR9x5JoPDdPDZtnBcUaoVzJtRbC0g1Tle8nGmDabyG4 Mj4VXJOMfJyk1MpWnV7QaV7xy2SNhQZrhToAEdhhpeNa1a9SkibLRbD0BTiVj/FEYUS8 Y5mg== X-Gm-Message-State: AOAM5325l6NSh3Cy75BRsmLaEAtIoN6r3wO348UYxZ6H34CHibfjruFQ 8zTme4GLW9pOu0vMWGspG00= 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=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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", -- 2.27.0