Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7810227imu; Thu, 15 Nov 2018 01:46:20 -0800 (PST) X-Google-Smtp-Source: AJdET5fLZSeEC4aKtGJd4M1GwvLbSMWpv8hCB7qbpt2bIZ5CX+mYq9i09d+CUiYmDLi3mU5IFvrr X-Received: by 2002:a65:62da:: with SMTP id m26mr5197333pgv.278.1542275180398; Thu, 15 Nov 2018 01:46:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542275180; cv=none; d=google.com; s=arc-20160816; b=Zm6FwTPB1CYQF6WvgrVIc6kryy5vJJe5rlRCxf6zuF/zrc7e4FcuEbFsFZvlYTd9mb GltWndNJfDQIrCMqU0yN8yQNDGlbxKajRg6dRuKhNl+GwjbAjvV989rWidT//lZJX03o V0k8xOWohF5zwJ3AYA13+ahQdgNuZZXU+vWwm88PnAaKT1ldgMESKIvFSvVEpTGvPwh4 UCPROD/Xep9G1k9WDsgxyyka9BlbWA5IK6jpwaNMeoLaIYnOAN+BHKxULAUVDW6XgmU0 UAAKxvNM+K5721AZ3QKln85zz/E4/4a7H+Zs52U4te0T9vVx0L9spzNrUysYZ/OoST8Q UYaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=gOd+8/Uq48n6P5Ttzpt8g0qp7w41GiAcEoorAldUOxI=; b=I6SniGEyVYsdF5fKRZ7EqC4CnECYIJKCLdUKUTQh5ZL4xFwX2LlF08ATdh1l+CsqlQ gk+v0di82RFWmoXvrEUDLCkT5abyiBHxjdIVMWGK8MWZznHujfF4kgchMkwVYPpvVVqF /IQ4reHw0wWH1P/cPXqKXcIq/wqEdwHtPVyJklBC5m+BVRyTfElvPP5Qxq6GqeDdlIWx 1rnL2YMHW3ES13ZTfGOUDyPy9u2t98T2fgInu2P0OPybSs04J3jNqAW9CDHpsE3q6k66 EfLHf1HiXmMPNUoqFhAuNYtmrtJKzN5UmCuRtRVWawlahFWTUELJi8wCdroMCFAAdLak Nr2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ODRdwLUQ; 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 o14-v6si25244707pgi.52.2018.11.15.01.46.05; Thu, 15 Nov 2018 01:46:20 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ODRdwLUQ; 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 S2387998AbeKOTuX (ORCPT + 99 others); Thu, 15 Nov 2018 14:50:23 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:43705 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728984AbeKOTuW (ORCPT ); Thu, 15 Nov 2018 14:50:22 -0500 Received: by mail-lf1-f65.google.com with SMTP id u18so13661659lff.10 for ; Thu, 15 Nov 2018 01:43:17 -0800 (PST) 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; bh=gOd+8/Uq48n6P5Ttzpt8g0qp7w41GiAcEoorAldUOxI=; b=ODRdwLUQKjiHNhcaiZQSKsZS0TqJ9d7Olzf9bWnljkA/IY80S7YxX9UDLEqza03pfn tI15VZhqEyimiUYDQPY5+ZVb65GONkHCOJOTWahTWqcxL3iGd+K0fKA6iMU74RtR+/4g Bp1jPfOnJykZt/DeaRLj0bKZ4UV8zq50b/o3o= 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; bh=gOd+8/Uq48n6P5Ttzpt8g0qp7w41GiAcEoorAldUOxI=; b=fl+A49llLVCZJZ5b7tj0p7AYpvArSIU9N7W35oRhIn9b/FoMH2cyOGClNzEdJUqNnW 21M+FTksyKqZFlUIow8Y7l1dTX1hX0HnZP7iNxHYJxLiBq9/csoK6LPIXx+MnX5qZa6p jhQlIGt79YOcQplULcoPfc4aY6h6PGRV4YpGBTVIIFaArFf/Rc/7UtNRhycmr2vvg+g7 oH1iEENh65mgpFPilGWEgdo5P98CEQMeEbtUo/XxKZKo2B52vWJ0onQ2o+haZaQBeEVZ RbdtfgpacdsoFMt42imL/97YG1onfps9/PrqiOvcDSOBlNvChqKQ90e1MovbchQTGxRm r7aw== X-Gm-Message-State: AGRZ1gIsIrq4MNwMKvJAgrNPkILtAmYd/vnnehXhDCVOvxSJ0L/Kukui f02UJ5lGNy7uzFD/AubhVtzdJnc6VpE1G8ohs4DjEQ== X-Received: by 2002:a19:41c4:: with SMTP id o187mr3162752lfa.32.1542274996596; Thu, 15 Nov 2018 01:43:16 -0800 (PST) MIME-Version: 1.0 References: <1541603580-17448-1-git-send-email-andrei.stefanescu@microchip.com> <1541603580-17448-2-git-send-email-andrei.stefanescu@microchip.com> In-Reply-To: <1541603580-17448-2-git-send-email-andrei.stefanescu@microchip.com> From: Linus Walleij Date: Thu, 15 Nov 2018 10:43:05 +0100 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: gpio: add sama5d2 PIOBU support To: Andrei.Stefanescu@microchip.com Cc: Greg KH , Nicolas Ferre , Rob Herring , Mark Rutland , Ludovic Desroches , Cristian.Birsan@microchip.com, Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 7, 2018 at 4:12 PM wrote: > +Required properties: > +- compatible: "syscon", "microchip,sama5d2-piobu" Looks like "syscon" should be dropped, it is using a syscon, but it is no syscon. > + secumod@fc040000 { > + compatible = "syscon", "microchip,sama5d2-piobu"; > + reg = <0xfc040000 0x100>; > + > + gpio-controller; > + #gpio-cells = <2>; > + }; Isn't it easiest to just make this driver be a subnode of the syscon so it can just refer to its parent to find the syscon it needs? Just state that in the bindings and make an example where it is inside the syscon. Yours, Linus Walleij