Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4896278pxu; Tue, 13 Oct 2020 09:34:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxescOixu3J8Z0xVNzJ/5bQ5R4VXiEWsE5CmRzJvrcqSQe1S5Zrk/03EIz+8LneTlBgVI8d X-Received: by 2002:a17:906:82d7:: with SMTP id a23mr635418ejy.66.1602606895801; Tue, 13 Oct 2020 09:34:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602606895; cv=none; d=google.com; s=arc-20160816; b=V5zytgTOXjmKSHEx7KnLO2S8IBrkp/T6DGAVsEItg2Y5+nGFeonPlYth5XxAEk+X+a Rh3rE03SCXVv/tujV1nHs0iBj5ogkP6U9SMuDqlPBgx7WhhZ/sgtXgGMaHV4INHCB018 29S6EU7NakKYiRRbAmGIV8bix227VzSgl2VS9Cw4kn9Ph+YA6AArBY7G8T9dSdFMfnrN HxoHiWj6WTZu1KPlAkmXRNUX6XpOjUhF361vJYe1Uf15WJru8UMpWhButigEahomZR06 v/5hEpmqrOgAcpKZG9Y1OBCnHoad7Zf8C/iR3xRndgLB2aJvob33X0LrXA18e6w3QKti ohLw== 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=6NIDO88L/SfLo7a2I6RUC0k7nZAbu1A3o1CF53Wby8o=; b=yTgMhpcPONu2at0P1ur+7ero0CBMHiGlfLTTZudg+N8DwwhvatOI6WzPGeerJirWPv w5zjYpWDjsFafDA6CwPSt7nartQgCw94E1xFxT+V8bajfEzKn5thWg26JjD9izS4f0TV +p0H9As37RWKFBThB5qH7Siv2STVvz9DoacVigFB3oOzRzgTKE0UvDRRpBG92sv81bwk uJlIO20NmlZelEzMCsnDHEBSB5Ym9iEiIdb0r03rJtm8QGKY+14wbfhMYx9lzjy+DRWP BH8755zrX9DqqQiTaHT5FaeOURKTtw5tX1CfkiE2eAbzPGWbNXX7vN0if5MT/4ls17N6 qtxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MwfmDJKm; 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 lo13si151624ejb.199.2020.10.13.09.34.33; Tue, 13 Oct 2020 09:34:55 -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=MwfmDJKm; 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 S1728611AbgJMN1Z (ORCPT + 99 others); Tue, 13 Oct 2020 09:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728605AbgJMN1Z (ORCPT ); Tue, 13 Oct 2020 09:27:25 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB741C0613D0 for ; Tue, 13 Oct 2020 06:27:24 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id d24so17456657ljg.10 for ; Tue, 13 Oct 2020 06:27:24 -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=6NIDO88L/SfLo7a2I6RUC0k7nZAbu1A3o1CF53Wby8o=; b=MwfmDJKmJ81pU5hFl/rnyB8ayCOt5/lEUwSU27O6JDx9gQHn3DTxf+20E2rDsHteN3 9JTXgdXXsFRCbcDH9mN59YWJeO5adNlI1tyTLFP3T75BWSlWOBZlXUIezLx4IvooOzhl iGMrxOm/GgqysYdhsEknsvhLgGgOndvkipKdbiQSRDirQWRFH7UT0/jHGov7IYyeLf9J L5CvqhwM4drP3u2Hx5OyA2YyEVgNmqYg3Rmh4z4C97GCr5h0HIZPZWmqSlg4fwlsX8jR QsCFkAfIZTTPlYPiMnrleySRmUurBcPFBXPWPMEkZ88jIn7qIWgNQRBHz0cZXIkUQY3H 7cUg== 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=6NIDO88L/SfLo7a2I6RUC0k7nZAbu1A3o1CF53Wby8o=; b=mAu0aHif6Uj1gymjx73Kg6d2MLgG2dNK+PHiMn1Pcvh/dnFJqlxKodCokH5PNmyYwQ PnMrUnVlSCZ8Urkg5eQpXDVDhTHWNMguLPmRWPZmnrw+ORNr8bw8nQ4mifKI7BDgUnsP nJiRritg1Nh4KQwAu7JjkW2r45aqu0tfL7duhrvsYOX4QHgeuiwgnKaAS1Y5e2LksB9X 5UBPLXuROEhceNQNvfd/9ETFLAkLOWfVpOqVDrWdZGQlgQE8TbB1XRZ1rp1Rg08g4sR6 WusOLVvlwHPXPuQjH1QbHzOT9zgpQ1ishu54oXfxF/+UsycQKzcmYjR2/vqiH3lob7D3 9fww== X-Gm-Message-State: AOAM530YB0/lHVuX1uLznIFL5LE5lKlaVjbZ7PZonDBP/jBRIpUhMIzn z6sngmoDYADyi/63JDB5e/sXLil+5e7rBOB+pzUQGw== X-Received: by 2002:a2e:b893:: with SMTP id r19mr2025007ljp.104.1602595641517; Tue, 13 Oct 2020 06:27:21 -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: Tue, 13 Oct 2020 15:27:10 +0200 Message-ID: Subject: Re: [RFC PATCH 2/3] dt-bindings: gpio: Add binding documentation for Etron EJ168/EJ188/EJ198 To: Martin Blumenstingl Cc: linux-pci , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list:GPIO SUBSYSTEM" , Rob Herring , 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 Wed, Oct 7, 2020 at 9:58 PM Martin Blumenstingl wrote: > On Wed, Oct 7, 2020 at 11:19 AM Linus Walleij wrote: > > On Sun, Oct 4, 2020 at 8:00 PM Martin Blumenstingl > > wrote: > > > > > +properties: > > > + compatible: > > > + enum: > > > + - pci1b6f,7023 > > > + - pci1b6f,7052 > > > > I think it is better to let the PCI driver for the whole hardware in > > drivers/usb/host/xhci-pci.c probe from the PCI configuration space > > numbers, and then add a gpio_chip to xhci-pci.c. > > to have everything consistent I will move the binding to > Documentation/devicetree/bindings/usb 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. What am I not understanding about this? Yours, Linus Walleij