Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2717519imj; Mon, 18 Feb 2019 10:50:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IacszvgGbfhY5Qcfs7QVQqrDoQfnX5q7CAWYVKHFBvKxLusY8rtJpzbuMePhqFY4qTr6PKk X-Received: by 2002:a65:64c8:: with SMTP id t8mr20000330pgv.31.1550515846127; Mon, 18 Feb 2019 10:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550515846; cv=none; d=google.com; s=arc-20160816; b=QhJ+mgkif0aWhQro9boEp3VPFZUh5/LUcZ7dmBj3mxGMXSsqOURBzPDIctCcnb3Zt8 CIR/KumPw+DzP3sa8JzS4tGVKJ/zahAGfFSWa3XJI9caKsK6jVeW2FV4zxrWkimoRpfK PuFRMDvCy4TIvSZyGp5CndaKuhh+ywjK6eWzuO6ciDVFXdRlo6L3czRII389FWHv0vd/ VJqcDOwOjGnfKk6GUNg2aG+PFPAFQpxjNWW0K1nexQqvFCTVOer+8tNN/oFP9VrUtnqg vOZkStTbh/jy0s/nKE3oK+NiAkgo0nm6uAO7kpcnDS3+F/a1VnePYGxpSyAP99YSV5Fh KHDg== 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=Y6yxkg7qrm3Yj/JlHLGtkgFxQYAdQMcxpMZZhqrjvyc=; b=Dkk67o/aKoPXZxO4yPEcwcR1exDy8g+DyhZBvEz5qHtn7q3bDoMts6q50VKHWm1Whs O+QLOUyo7AbIouH/8I3ezjayx5YfbW7t+LstMuq5YIKBPmeyBFvA+TOpvaD+5cv3ntBM DA1qi/ADzfpJBdQp86JbQo82fkY3rtQj00WU/0303vbDH06itHPCEQpyPq+jT3S3LKX0 Y4rVujMrLMplCAT1J2Q2/6ebFy9MxCxz11AWbXUKJh8OBLm7ev2I2iD3hkiu0Tobn+Ok YXVxAnGC8JUFVHDFRpQEf8WPj56Ilh3IZENcSaWV5h8Lv1U0JOyD9yP8MVTsfXaUgiuN gNDg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si10621328pgb.164.2019.02.18.10.50.30; Mon, 18 Feb 2019 10:50:46 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387669AbfBRPs1 (ORCPT + 99 others); Mon, 18 Feb 2019 10:48:27 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:43504 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbfBRPs0 (ORCPT ); Mon, 18 Feb 2019 10:48:26 -0500 Received: by mail-ot1-f67.google.com with SMTP id n71so28948985ota.10; Mon, 18 Feb 2019 07:48:25 -0800 (PST) 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:user-agent; bh=Y6yxkg7qrm3Yj/JlHLGtkgFxQYAdQMcxpMZZhqrjvyc=; b=Tm9qa6YjaXYv3l53Vgx+OP4PLQkHM2SIgnOHKcO41hGv32BcRUDgWtKBzlSDg34PbR 6NEwVkwrMxmYvXP92lXuyLcR1+JCYsfbD6MU8/LvA1uUEI4SYIakVurTGgkolyMbjSpZ CRbKpE+owc32+vnIf2pB7ANENl9ph50OmHfJQhLmy9Q4CwMPIW0xjksEwhyQV3x4rG3m C1wsWyj0zsDI2fnAWLnOPnrGs/Q2ozB7gaYpKjEF7QHT+WU9appI8eSg4b8nL9gZ0r1k qrhUqArmICV4Zc23vVjg/mVoxsBx2vt2iFtYQYn4JQbsfSv9t+Rk+tuViPeFQODd9XXE +hPw== X-Gm-Message-State: AHQUAuYHEb8QGc9qTQKbR6erv2zVuI2riMsRl0eQr07FZPaV2hgdotNj plUkOj7SpXZuYSJm0Ah77w== X-Received: by 2002:aca:4a15:: with SMTP id x21mr14156415oia.122.1550504905275; Mon, 18 Feb 2019 07:48:25 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id k16sm5814336otl.58.2019.02.18.07.48.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 07:48:24 -0800 (PST) Date: Mon, 18 Feb 2019 09:48:23 -0600 From: Rob Herring To: Matthias Brugger Cc: Erin Lo , Linus Walleij , Mark Rutland , Thomas Gleixner , Jason Cooper , Marc Zyngier , Greg Kroah-Hartman , Stephen Boyd , devicetree@vger.kernel.org, srv_heupstream , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, yingjoe.chen@mediatek.com, mars.cheng@mediatek.com, eddie.huang@mediatek.com, linux-clk@vger.kernel.org, Zhiyong Tao Subject: Re: [PATCH v7 3/6] dt-bindings: pinctrl: mt8183: add binding document Message-ID: <20190218154823.GA2714@bogus> References: <1550210558-30516-1-git-send-email-erin.lo@mediatek.com> <1550210558-30516-4-git-send-email-erin.lo@mediatek.com> <2b221339-3933-2a25-ab60-d4d772d2873a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2b221339-3933-2a25-ab60-d4d772d2873a@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 15, 2019 at 10:35:39AM +0100, Matthias Brugger wrote: > > > On 15/02/2019 07:02, Erin Lo wrote: > > From: Zhiyong Tao > > > > The commit adds mt8183 compatible node in binding document. > > > > Signed-off-by: Zhiyong Tao > > Signed-off-by: Erin Lo > > --- > > .../devicetree/bindings/pinctrl/pinctrl-mt8183.txt | 115 +++++++++++++++++++++ > > 1 file changed, 115 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8183.txt > > > > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8183.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8183.txt > > new file mode 100644 > > index 0000000..364e673 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt8183.txt > > @@ -0,0 +1,115 @@ > > +* Mediatek MT8183 Pin Controller > > + > > +The Mediatek's Pin controller is used to control SoC pins. > > + > > +Required properties: > > +- compatible: value should be one of the following. > > + "mediatek,mt8183-pinctrl", compatible with mt8183 pinctrl. > > +- gpio-controller : Marks the device node as a gpio controller. > > +- #gpio-cells: number of cells in GPIO specifier. Since the generic GPIO > > + binding is used, the amount of cells must be specified as 2. See the below > > + mentioned gpio binding representation for description of particular cells. > > +- gpio-ranges : gpio valid number range. > > +- reg: physicall address base for gpio base registers. There are nine > > s/physicall/physical > > > + physicall address base in mt8183. They are 0x10005000, 0x11F20000, > > + 0x11E80000, 0x11E70000, 0x11E90000, 0x11D30000, 0x11D20000, 0x11C50000, > > + 0x11F30000. > > + > > + Eg: <&pio 6 0> > > + <[phandle of the gpio controller node] > > + [line number within the gpio controller] > > + [flags]> > > + > > + Values for gpio specifier: > > + - Line number: is a value between 0 to 202. > > + - Flags: bit field of flags, as defined in . > > + Only the following flags are supported: > > + 0 - GPIO_ACTIVE_HIGH > > + 1 - GPIO_ACTIVE_LOW > > + > > +Optional properties: > > +- reg-names: gpio base register names. There are nine gpio base register > > + names in mt8183. They are "iocfg0", "iocfg1", "iocfg2", "iocfg3", "iocfg4", > > + "iocfg5", "iocfg6", "iocfg7", "iocfg8". > > +- interrupt-controller: Marks the device node as an interrupt controller > > +- #interrupt-cells: Should be two. > > +- interrupts : The interrupt outputs from the controller. > > we are missing interrupt-parent here. No, because interrupt-parent is implied and may be in a parent node. What's missing is how many interrupts and what are they? Rob