From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753366AbcICMJj (ORCPT ); Sat, 3 Sep 2016 08:09:39 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36241 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752240AbcICMJh (ORCPT ); Sat, 3 Sep 2016 08:09:37 -0400 Date: Sat, 3 Sep 2016 14:09:32 +0200 From: Jorik Jonker To: Maxime Ripard Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus Message-ID: <20160903120932.GA6289@carbon.kippendief.biz> References: <1472671858-29220-1-git-send-email-jorik@kippendief.biz> <1472671858-29220-5-git-send-email-jorik@kippendief.biz> <20160902070425.GB6313@lukather> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20160902070425.GB6313@lukather> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 02, 2016 at 09:04:25AM +0200, Maxime Ripard wrote: >Unfortunately, these pins can be used for other purposes as well, so >we cannot make force that decision down to our users. Yes, but since the associated peripheral is disabled, the users are free to configure other functions/peripherals, right? I mean something like this in pseudo-DT: /soc/pio: pinctrl@01c20800/uart1_pins: allwinner,pins = "PG6, PG7"; /soc/pio: pinctrl@01c20800/foo0_pins: allwinner,pins = "PG6, PG7"; .. /soc/uart1: serial@serial@01c28400: pinctrl-0 = <&uart1_pins>; status = "disabled"; /soc/bar: pinctrl-0 = <&uart1_pins>; status = "disabled"; Assuming Linux/DT allows this, this would force nothing, only offer choice and ease of use. Best, Jorik