From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBCC1C3E8C5 for ; Sun, 29 Nov 2020 19:37:40 +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 6D06820771 for ; Sun, 29 Nov 2020 19:37:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="glMzFJc/"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pgu93Y+S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D06820771 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+linux-arm-kernel=archiver.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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7geK0ukZiNMEGHj7gKglCte877XAkqhwAcHtHP5J8wU=; b=glMzFJc/8HmFZy/RbUcxkzEsy ty86BkTj0qkL6i6EP/jrZOrmKNVe8Tn3djCOjwE2RJd65dxVEVE8qziNa3yx5kfm/c3psDM0DdzSy MFDT0YjI0KKD36L4twyTTBjymcgz1m9AkMT4aRmSr4A36xWXCJ/PhoosiMv/NnErK2Mk9kCpEFiW4 7imVJp1TvVtGz/LIKZ/Bti1N7qFhc8kPdVOk0pKOeYugWXzo7rG/icxqXipzajBrWpDq/BiWAGGjB 0WsA2JuVDaTC7urcatZSptNJPQ4sgedG6iH/FnXcvxXtc4S0KpMsX9ZxhvRdfK/c/XGFfRmG+Ivve lwJuhWDRw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjSU7-0003QI-Qr; Sun, 29 Nov 2020 19:35:47 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjSU5-0003PW-HB; Sun, 29 Nov 2020 19:35:46 +0000 Received: by mail-ej1-x644.google.com with SMTP id 7so16719552ejm.0; Sun, 29 Nov 2020 11:35:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=VJTurQv9SmuIqbxbzGcKFRaNIBwldzV4TEKvkjo/ws8=; b=pgu93Y+SVm2fARnZpQFRg+GLA5vygzeDditWd6X2Rc0to9o9/gWGJeUB4WjB1RZqnD VWwW2v3pdDe4ObLsQIj0ACnpBNHpW7yTPxHXlp0docwG4NMCCI/w8C2NjRJKeVNSncHu ooRcIdddKj6kehj9tTDtv3xUb75pDuGipYLkZg+8TDmoebg8e5HfylZdKXdsr41e5FgL UJ0izd8h+Amqy+Kiwynh8KWGMoL09QmlTVBeN4j8JlwNnE/IMUUFlH6Facxd7POaNIkf JVkaU9mVqVJICTYoNdz8A/cym/ZpQkswDwcDthU5ZGw/dExcY0oXI/hK/E2vfQhpncnp VNjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VJTurQv9SmuIqbxbzGcKFRaNIBwldzV4TEKvkjo/ws8=; b=Jx56HhSIgEKZRbsh+tQ8XJhEC6hJeg7rwx7pd5/88ksXoWSRZ5VfrsemT3PQBdfvnx dN4YIKB1J62cyDmhp0zz7oya2YYHiiVx7oU3ylqrBxaQrAe/CS6s1hA/CafVyO241uAE qt2lSromWdT4H4WeFdR9dzRjfgdXmoexgC1ApiSMbckz1iTLm9DPzEZJ9Fkm/jznzUPl mDbU8tthCJ4FQLY6S3WB2iaFAHsFqsftgHpdO95BV9DxhqZBCafsw6OvCkW7cnVZZMyz epgRgz2XI9JVguBrYGR0eq9JyZ+9KCgxClzZCeaV9IWtErGqte39RH9UqZhTpRldZJP4 IaFQ== X-Gm-Message-State: AOAM533D+EqzS0K2zT2fkXC6wa5BqZiych15WIohc/VQvDG98lX+LfuQ F4Iu7rjtjtmhk/FBUld5Hz8uWcs7lNM= X-Google-Smtp-Source: ABdhPJw4aTp5hoL7pBhYisMuritmZ1LcC7oYcYekLah1uOIz+E75cKVtUBtH5Pi19GCU0eQRKLpfxA== X-Received: by 2002:a17:906:edb2:: with SMTP id sa18mr15457895ejb.264.1606678544155; Sun, 29 Nov 2020 11:35:44 -0800 (PST) Received: from BV030612LT ([188.24.159.61]) by smtp.gmail.com with ESMTPSA id ot22sm1657731ejb.120.2020.11.29.11.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2020 11:35:43 -0800 (PST) Date: Sun, 29 Nov 2020 21:35:41 +0200 From: Cristian Ciocaltea To: Manivannan Sadhasivam Subject: Re: [PATCH v2 17/18] arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration Message-ID: <20201129193541.GB748744@BV030612LT> References: <20201128074108.GD3077@thinkpad> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201128074108.GD3077@thinkpad> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201129_143545_620511_D5545E0A X-CRM114-Status: GOOD ( 20.16 ) 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, Rob Herring , Andreas =?iso-8859-1?Q?F=E4rber?= , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Nov 28, 2020 at 01:11:08PM +0530, Manivannan Sadhasivam wrote: > On Fri, Nov 20, 2020 at 01:56:11AM +0200, Cristian Ciocaltea wrote: > > Add pinctrl definitions for the I2C controllers used in RoseapplePi SBC. > > For the moment enable only I2C0, which is used by the ATC2603C PMIC. > > > > Signed-off-by: Cristian Ciocaltea > > Earlier we used to add "_default" suffix for the pin groups to > differentiate between active and sleep states. But I guess we can just > keep the suffix away until we hit usecase. I had actually used this suffix when I submitted the first revision of the S500 pinctrl driver, but I dropped it later in the review process since it was considered an uncommon approach: https://lore.kernel.org/lkml/CAL_Jsq+8bX5duv=116e=hve1L-h8a=5quqCHVtSAs4PjK6xc1w@mail.gmail.com/ Thanks, Cristi > Reviewed-by: Manivannan Sadhasivam > > Thanks, > Mani > > > --- > > arch/arm/boot/dts/owl-s500-roseapplepi.dts | 44 ++++++++++++++++++++++ > > 1 file changed, 44 insertions(+) > > > > diff --git a/arch/arm/boot/dts/owl-s500-roseapplepi.dts b/arch/arm/boot/dts/owl-s500-roseapplepi.dts > > index fe9ae3619422..ff91561ca99c 100644 > > --- a/arch/arm/boot/dts/owl-s500-roseapplepi.dts > > +++ b/arch/arm/boot/dts/owl-s500-roseapplepi.dts > > @@ -37,7 +37,51 @@ sd_vcc: sd-vcc { > > }; > > }; > > > > +&i2c0 { > > + status = "okay"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&i2c0_pins>; > > +}; > > + > > +&i2c1 { > > + status = "disabled"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&i2c1_pins>; > > +}; > > + > > +&i2c2 { > > + status = "disabled"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&i2c2_pins>; > > +}; > > + > > &pinctrl { > > + i2c0_pins: i2c0-pins { > > + pinmux { > > + groups = "i2c0_mfp"; > > + function = "i2c0"; > > + }; > > + > > + pinconf { > > + pins = "i2c0_sclk", "i2c0_sdata"; > > + bias-pull-up; > > + }; > > + }; > > + > > + i2c1_pins: i2c1-pins { > > + pinconf { > > + pins = "i2c1_sclk", "i2c1_sdata"; > > + bias-pull-up; > > + }; > > + }; > > + > > + i2c2_pins: i2c2-pins { > > + pinconf { > > + pins = "i2c2_sclk", "i2c2_sdata"; > > + bias-pull-up; > > + }; > > + }; > > + > > mmc0_pins: mmc0-pins { > > pinmux { > > groups = "sd0_d0_mfp", "sd0_d1_mfp", "sd0_d2_d3_mfp", > > -- > > 2.29.2 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel