Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp618818pxx; Thu, 29 Oct 2020 10:16:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvc+pvePoPDavSYIMdEApjy/DAj9oWoIwi6zJ+32qEg1/H3zkBo8Pv4T5VUDTJJ+xCYFeE X-Received: by 2002:a50:baea:: with SMTP id x97mr5127875ede.81.1603991760192; Thu, 29 Oct 2020 10:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603991760; cv=none; d=google.com; s=arc-20160816; b=S2l+6NvYAoT6CS4dlDexcU1rHCiiTDbX0EIGsu4ZV0Cke9YhqOhDQHq0pWOmBb7jh8 6TBzzSdDCdWnTWh+gLK93ymdpQDMyCNiScMTccqBCdHLx7lLYnA3JHjuRPIPhtHd/hZt eUDsZJHQQ7Royrb/0AfjTQ798wbAQbaUJgk73mdQsirgN3HssZs7tJdF3oNVt9+RVuBR SKyo+Hy5SMTxrDJHPJcFnNdXiGGVwubwVYTEl/ehdRzfXhUEx/IwVoiodssGLjuBwDkE SJEDuwf1uSqoRfK9a/GkO4aaZX21OqrK1obWmRZAVSJcBHDT+UH7mM5Cku7CsH3w7Kd0 SBAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=B7msipSc39tbx1cyam8omVWWLfNOcLFksmzhLfw5XTU=; b=NBowx7Rbdtp5Zen/UMfWTd5HAZRC6w0ZLSH68G827EsZnu5pnMPQEcPl7122QfYrcv rpVJCQM4ac5UGF0tD3gPOnZ0VIRLov1OOJUc9c/tijM/ve2mr+9hchYfCrZD/FPGKL5E opgUMtrSYd+oA/PT/Ui3eRCL910UkaMwcjal/1icbH4xiM0OTmpJ2GS3pYIsupI/Uc/x qsp2rd7O7krNCljo9lA6ldnCsibKQTUhP18xkcARbO65M+x1e9UBzT+bqVxoV458mGK7 0E88Hre7wA08u/OgA8hYrLXMmeGCsm0gBQ12k7oFhJcN9NXlRGciH5KYX3IEgVl7ff6P IjYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ntol3+ZC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y22si2537959ejc.737.2020.10.29.10.15.35; Thu, 29 Oct 2020 10:16:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ntol3+ZC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727650AbgJ2RLt (ORCPT + 99 others); Thu, 29 Oct 2020 13:11:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgJ2RLt (ORCPT ); Thu, 29 Oct 2020 13:11:49 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9429CC0613D2 for ; Thu, 29 Oct 2020 10:11:47 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id p93so3812332edd.7 for ; Thu, 29 Oct 2020 10:11:47 -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; bh=B7msipSc39tbx1cyam8omVWWLfNOcLFksmzhLfw5XTU=; b=Ntol3+ZCQdnYkvEnnGcK6/sb2MP3E3Iv0WyuPD3TEh3RsyFIlLIbWDZPLenuJhseJd PRao5U88R1b15s775JvkBydB0C3Ppdz6is+tlkXlOebPD+eyL50aS0wNzhTUo169v2GH FG1+hXR3AtcxocCKOA4fK6FaCzKGdDkadP8IBZphfOoIU/MeFWs5d5Za6m9bVS4SccOP CPOhPlmn2ezvhyB0dsJaE9AJ//uH8fx6VRvUpqO/ElW/Oot9e2+yn+zA28ER8BstNHiI aLMTxPCcT7BHiZtxSHS2CuhsOF3BIPf45R17FPrLqGnfnktYM62YiABQ2gdQwI7JJZdU jscg== 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=B7msipSc39tbx1cyam8omVWWLfNOcLFksmzhLfw5XTU=; b=qDUDqFclFOdSUTvOIqUegwqy+NLARyXFlGv8J63n2mN3em+vxi2v7kz+7RW+VTDKKf MUzisSEYTpI7iAvVFDogUp99BIWQfzCTuC7E8LOJ8cg7Q8QNwS/2Y2CQgOxJ632VZYTY p5euNCvzmuxekB3r9mHKHTM0GBkzWcL3uhdvO9PwcryC1NJrjkVXqhs1PJ+43FvBLs0X 0qfl4wngXbsUArHsn98VXpQ+blphF/J1fDsO4Am8Smzs5GDLxIoa4yCwGxdHnrQWlvKl NiJNKMhupmEZi7aEg/Z1MK6lqJl2SAghKWRv8vxkYjDspfalWud9ONOeTYVLNZbP/1PN gPkA== X-Gm-Message-State: AOAM531Je4ErHNx8u0hwzgfis3bQi+rykzSoFGSHn0C2KSrPSvpKlmFP +i+qUD2HSz8UOoY3Qbqari4sbHZwKkXZaEQyWTMdww== X-Received: by 2002:a50:96d2:: with SMTP id z18mr3478714eda.367.1603991506282; Thu, 29 Oct 2020 10:11:46 -0700 (PDT) MIME-Version: 1.0 References: <20201004162908.3216898-1-martin.blumenstingl@googlemail.com> <20201004162908.3216898-3-martin.blumenstingl@googlemail.com> In-Reply-To: From: Linus Walleij Date: Thu, 29 Oct 2020 18:11:35 +0100 Message-ID: Subject: Re: [RFC PATCH 2/3] dt-bindings: gpio: Add binding documentation for Etron EJ168/EJ188/EJ198 To: Martin Blumenstingl Cc: Rob Herring , linux-pci , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , "linux-kernel@vger.kernel.org" , Bjorn Helgaas Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 16, 2020 at 10:52 PM Martin Blumenstingl wrote: > On Wed, Oct 14, 2020 at 2:43 PM Rob Herring wrote: > > On Tue, Oct 13, 2020 at 8:27 AM Linus Walleij wrote: > > > I do not understand why a PCI device would need a DT binding > > > at all. They just probe from the magic number in the PCI > > > config space, they spawn struct pci_dev PCI devices, not the > > > type of platform devices coming out of the DT parser code. > > > No DT compatible needed. > > > > Same reason for all the discoverable buses need bindings. There can be > > parts that are not discoverable or connections with non-discoverable > > nodes. There's also cases where the discoverable device has to be > > powered, reset deasserted, clocks enabled, etc. first to be > > discovered. > > > > If the GPIOs here had connections elsewhere in the DT, then we have to > > describe the provider in DT. > > this is exactly what I need it for: that platform has hand-written > .dts files and I need to wire up a GPIO LED Aha I get it! OK then :) Yours, Linus Walleij