Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2747318imj; Mon, 11 Feb 2019 07:54:18 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ3Sw+l3EC1KRrS+OzL4VTvfbGD2ZQYPRcIlcV0ikEC2WLDrR3nvJGvaFVhsWqpp3gbZDGt X-Received: by 2002:a63:1061:: with SMTP id 33mr29048064pgq.108.1549900458476; Mon, 11 Feb 2019 07:54:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549900458; cv=none; d=google.com; s=arc-20160816; b=OTmVHQ8uTmUxiO7nkFoUkjHCZ9k1yqfHyP0mhhLmTC7fCj/goPdRkGLnfhwoeP1I/E waNM7tlVzPldczrBBJbJMBuybSohWkf3CPptNv40eQhsfhz8s2xKq4iwxx0janWxp2RZ u4Vd1yBklGVsaXFJHqLbbMaPQzaZEYiG28diJ4HUhJ066Gky/RjRvFwWoju5WsnceBbb nFaxr/u8q4AFcxVHTVZ52g74Z9w+45g1oqijut1/7qIVSb0u3YkNxNb3qN819PupG7jA GJmJ8fbPOgAllukhf9aIGP/yF3rjtBp5xdyqQee558c5M9WokwE+Vd7t5H1z2vmII5KR 5CXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5dYP+MfeN4tMI4DCixpvha5LwAQE98wZAk0OPtOIkKE=; b=KOIja8TDM8YQFI3lmmG6NRbp3pGtMmiZb7bn1trcpLSJgEhs2I9YLVK2npdhlXz55H THTq508w16EBORG1saiwCka9FdWkAAj0qqTAck1IOt/q1UZijw0B+KPvObVwzF+lv8Xz drf/0LyfbYeIYjV1xJ+U2zx4IZ3epJLwA0vml33fj17DnqLzJOfaebFZ5Nf1XAVRAjNJ 2ZwzDmVHPIL1Sy3FGPCxU+I3RRHyNV8qEI/bKHleoN1nwy+1BiOyVKhQDAqiVUAheHRy ldjBfIzUt63Q38CLg4Du5IUmn9AT6ScyRPPPKjociJrqqolLfQ5J/yY/CpIV57K2YgLi 0O2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg7si10313839plb.149.2019.02.11.07.54.02; Mon, 11 Feb 2019 07:54:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731909AbfBKPv7 (ORCPT + 99 others); Mon, 11 Feb 2019 10:51:59 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34597 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729204AbfBKPv4 (ORCPT ); Mon, 11 Feb 2019 10:51:56 -0500 X-Originating-IP: 90.88.22.177 Received: from localhost (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: maxime.ripard@bootlin.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 6DEBE1C000E; Mon, 11 Feb 2019 15:51:53 +0000 (UTC) Date: Mon, 11 Feb 2019 16:51:52 +0100 From: Maxime Ripard To: Mesih Kilinc Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-sunxi@googlegroups.com, Chen-Yu Tsai , Linus Walleij , Icenowy Zheng , Rob Herring Subject: Re: [PATCH 6/7] ARM: dts: suniv: Add pinmux for SPI0 and SPI1 of F1C100s Message-ID: <20190211155152.gnocoojqa27fmeay@flea> References: <37f573797e18fc22f8f78d0a62550b6d5e460a8d.1549875778.git.mesihkilinc@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zkkgxlj3vb7km2v6" Content-Disposition: inline In-Reply-To: <37f573797e18fc22f8f78d0a62550b6d5e460a8d.1549875778.git.mesihkilinc@gmail.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zkkgxlj3vb7km2v6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 11, 2019 at 12:21:12PM +0300, Mesih Kilinc wrote: > PC0~PC4 is pin group for SPI0. PA0~PA4 is pin group for SPI1. > Add device tree nodes for this groups. >=20 > Signed-off-by: Mesih Kilinc > --- > arch/arm/boot/dts/suniv-f1c100s.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/sun= iv-f1c100s.dtsi > index 1b332d9..a92a411 100644 > --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi > +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi > @@ -96,6 +96,16 @@ > pins =3D "PE0", "PE1"; > function =3D "uart0"; > }; > + > + spi0_pc_pins: spi0-pc-pins { > + pins =3D "PC0", "PC1", "PC2", "PC3"; > + function =3D "spi0"; > + }; > + > + spi1_pa_pins: spi1-pa-pins { > + pins =3D "PA0", "PA1", "PA2", "PA3"; > + function =3D "spi1"; > + }; Are they the only options for the muxing of the SPI pins? if so, you'd need to remove the pin bank, and to set the pinctrl-0 and pinctrl-names in the DTSI. We also move the CS pin out in a separate group to accomodate devices that use a GPIO instead. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --zkkgxlj3vb7km2v6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXGGaGAAKCRDj7w1vZxhR xQ7OAP4khQgOjuMy0Pt4C5+nZbUJzc1AUk4H+bPNMiSaCTyTWgEAzvbAUWtcbIUM EoODht2ZsP3V/ygf5ZbbXKbOU6Sl3Q4= =yQWo -----END PGP SIGNATURE----- --zkkgxlj3vb7km2v6--