Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2437156imm; Mon, 10 Sep 2018 00:47:48 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYrDI22oNGl+gHmK2tN7rT0ZTHqPf5CuVlk9ppJqUc8Hx3SYX5XTMS/xC6lktoESnh6mxsV X-Received: by 2002:a63:2701:: with SMTP id n1-v6mr21151276pgn.146.1536565668119; Mon, 10 Sep 2018 00:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536565668; cv=none; d=google.com; s=arc-20160816; b=ePS00MtP3ClcFMnZt9cOrf9s5HJuChKZe2vSoh8Yo31Ogn6+oOM6LXZIbr3ReUuxxu ouXVoWP5YeqUCDbILjLPjbDdMtBpsMf8zPYySo3ZEP4Eb6Qt2fxeW219497S2jJs+RSh ztxB9zwHmgX2bl+ZoZNyuvvRPiWjpmo2kk/Dwt5aVd8gDdBz11ZD8UlekFWXmPKNmrHT B6bMq0dwhuQS8hJTP2D1uL7zbMFb4XtVpHz7+La3FZjb8YUbPYl3hzfRu209gEhMm2Wu JG3VJUeABFxDBK+Qs7/l9seGclcXQ75SA516tgOvUUpY1IqNDXRyH7TvWak2DK+NaBJV f/Ng== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=9z1w/2We5BKHXPP6XvPuv7S64WGiACWduVZM9rnpiJw=; b=OwJh/ruLfJZ+qR6eG00IHgBMMKduzGwY35ildXFqG6Lwj5D7LRsqn3GfyEnJgaXrAr KXqrh85jvFqmU9Xkcuh6xWHCf8yGm7/MxhEaN3KrHRgMwZZ589Ac6/H3ulaDGd08nhWq zmhOBIiUo8dsPljJAc0ZRN/QYXfTr4oRvoup9ZMp2AZlEQTbz5XrQAnA2hB1WQvCz21e WVUInahZjJwuE4j6VGaf71ukHyKmLLasZJ1zWJ9JVObljNp7stP7tA0ie+kATGB97M0W O0RHJRjbJ9JfgfgbfaqQHxDZI6LX6e5kPSW7Cx+HmAB5/Q+1PBS3tPDFA96FU4pAECJF j+eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dkPV/r43"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15-v6si16419923pgi.76.2018.09.10.00.47.32; Mon, 10 Sep 2018 00:47:48 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b="dkPV/r43"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727729AbeIJMij (ORCPT + 99 others); Mon, 10 Sep 2018 08:38:39 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:55373 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726789AbeIJMij (ORCPT ); Mon, 10 Sep 2018 08:38:39 -0400 Received: by mail-it0-f65.google.com with SMTP id d10-v6so28315198itj.5 for ; Mon, 10 Sep 2018 00:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9z1w/2We5BKHXPP6XvPuv7S64WGiACWduVZM9rnpiJw=; b=dkPV/r43UKAOLTnZeJib1gJLpcnskdyoVO77YmBiIOewRGeN6oC+h8a8KtW65WG8bN YAejaLazn5rWMsXJ3u+sY31iGqwm16BcBUWLgu8WNVHK9EPMdsILc3AIniHg0DIDsqRw v2tDIx8EUhfh2WHl9LRyLG+iXAsB0KPxaKT6E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9z1w/2We5BKHXPP6XvPuv7S64WGiACWduVZM9rnpiJw=; b=eHZ0x6D37vtNw7nRKdDOQWldUAIc+4ioM5xnACzc3MRR1qNgijXx+nVn3ovi0yTI/w WGkWsLlyvOkZeCG0VhJ150CxhQOnAoozsWOJYqei1o3LOgG1bNY9t1WTfat11m6TvE5u 86GDQ8zqwe1EZ5nwCvJHQY5iloHr0cYiBorA9FPTs5oZnBjPp2NdsIkjeyRyiitTTvnR lXR/mkDjXFtHtoDjMuaJjGT3zA0fthBiZnAbOLA9lk39JYHuBCHujg9QC/07ZyWQufKB 8vswzc4MvGOXGWRA+dC9i+lhqxcuI+aEjrPjdC7Bx7lD9jfEnH3d6TxTuSU1bBMZN/UW q8yQ== X-Gm-Message-State: APzg51AEWQyTdPSuCzMLwVxGG1smek6hHABZwZDDOliDRRGsV3TSRCuy Ox1VLwPLLJRzmG4iGN85D+wCR1U6dtpGsSXqy984eg== X-Received: by 2002:a24:6b0d:: with SMTP id v13-v6mr18004093itc.16.1536565556036; Mon, 10 Sep 2018 00:45:56 -0700 (PDT) MIME-Version: 1.0 References: <1535634775-19365-1-git-send-email-phil.edworthy@renesas.com> <20180903103358.GC20333@w540> <20180903112517.GE20333@w540> In-Reply-To: <20180903112517.GE20333@w540> From: Linus Walleij Date: Mon, 10 Sep 2018 09:45:44 +0200 Message-ID: Subject: Re: [PATCH v2 0/3] Renesas R9A06G032 PINCTRL Driver To: jacopo , Geert Uytterhoeven Cc: Phil Edworthy , Laurent Pinchart , Rob Herring , Mark Rutland , Simon Horman , "open list:GPIO SUBSYSTEM" , Linux-Renesas , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 3, 2018 at 1:25 PM jacopo mondi wrote: > On Mon, Sep 03, 2018 at 11:03:18AM +0000, Phil Edworthy wrote: > > On 03 September 2018 11:34, jacopo mondi wrote: > > > On Thu, Aug 30, 2018 at 02:12:52PM +0100, Phil Edworthy wrote: > > > > This implements the pinctrl driver for the RZ/N1 family of devices,= including > > > > the R9A06G032 (RZ/N1D) device. (...) > > > Using standard pinctroller bindings pin configuration properties: > > > > > > &pinctrl { > > > pinsuart0: uart0 { > > > pinsuart_tx0 { > > > pinmux =3D <103, UART0_I>; /* UART0_= TXD */ > > > }; > > > > > > pinsuart_rx0 { > > > pinmux =3D <104, UART0_I>; /* UART0_= RXD */ > > > bias-pull-up; > > > }; > > > }; > > > }; > > > > > > Is there anything I am missing? Maybe from the interaction with > > > "another OS/core running concurrently" you mentioned? In this case if > > > you only have to perform pin configuration (because muxing is handled > > > already) things are even simpler, just use the pin configuration > > > bindings, without involving muxing at all: > > > > > > &pinctrl { > > > pinsuart_conf: uart0 { > > > pins =3D <103, 104>; > > > bias-pull-up; > > > }; > > > }; > > > > Sorry I didn=E2=80=99t address your point. > > The only reason we want to use new properties is so the driver can proc= ess > > dts files that have been generated from an existing PinMux App. That ou= tput > > is used by VxWorks as well as our out-of-tree Linux port. If that is no= t a > > good enough reason to add new properties, then I can't see any technica= l > > reason not to use the existing bindings. > > I see. I step back then and let this to be handled by the pinctrl > subsystem people and maintainer :) I rely on Geert Uytterhoeven and Laurent Pinchart to tell me what is best for Renesas. A good hint is that Geert will merge this driver when finished and send it to me, so if he's not happy it is unlikely to get merged. So make sure Geert is happy and I will be happy too. Geert, as I, likely rely on the DT maintainers to tell me what is best for DT. But with pinctrl they often pass it back to us. Yours, Linus Walleij