Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720086

Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie wake irq

From Bjorn Helgaas <helgaas@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie wake irq
Date 2017-08-25 16:00 +0200
Message-ID <uinjr-4Jl-7@gated-at.bofh.it> (permalink)
References <uh837-4X1-3@gated-at.bofh.it> <uh837-4X1-1@gated-at.bofh.it> <ui3E6-Db-21@gated-at.bofh.it> <uico1-6wb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 24, 2017 at 07:11:32PM -0700, Brian Norris wrote:
> On Thu, Aug 24, 2017 at 11:53:54AM -0500, Bjorn Helgaas wrote:
> > On Tue, Aug 22, 2017 at 11:19:33AM +0800, Jeffy Chen wrote:
> > > Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
> 
> > > diff --git a/Documentation/devicetree/bindings/pci/rockchip-pcie.txt b/Documentation/devicetree/bindings/pci/rockchip-pcie.txt
> > > index 5678be82530d..9f6504129e80 100644
> > > --- a/Documentation/devicetree/bindings/pci/rockchip-pcie.txt
> > > +++ b/Documentation/devicetree/bindings/pci/rockchip-pcie.txt
> > > @@ -20,10 +20,13 @@ Required properties:
> > >  - msi-map: Maps a Requester ID to an MSI controller and associated
> > >  	msi-specifier data. See ./pci-msi.txt
> > >  - interrupts: Three interrupt entries must be specified.
> > > -- interrupt-names: Must include the following names
> > > -	- "sys"
> > > -	- "legacy"
> > > -	- "client"
> > > +- interrupt-names: Include the following names
> > > +	Required:
> > > +		- "sys"
> > > +		- "legacy"
> > > +		- "client"
> > > +	Optional:
> > > +		- "wake"
> > 
> > Why is there no other PCI binding that includes "wake" as an
> > interrupt-name?  This feels like something that should be fairly
> > common across host controllers.  I don't want a Rockport-specific
> 
> s/port/chip/ :)

I visited Rockport this summer, guess I had it on the brain :)

> > DT description if it could be made more general.
> 
> I'm not sure we can really answer that question ("why do no other PCI
> bindings have this?"). But one guess would be that every other
> controller uses only beacon wake.
> 
> It would be OK with me if we made a blanket statement that a controller
> with a "wake" interrupt means PCI WAKE# (per the specification). It's
> possible this could even be stuck into some generic PCI/DT code
> eventually. (I don't think we have a really good place for this today.)

I'd just like every controller that uses WAKE# to use the same name in
DT.  Maybe all that means for now is mentioning it in
Documentation/devicetree/bindings/pci/pci.txt instead of (or in
addition to) Documentation/devicetree/bindings/pci/rockchip-pcie.txt

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie wake irq Jeffy Chen <jeffy.chen@rock-chips.com> - 2017-08-22 05:30 +0200
  Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Bjorn Helgaas <helgaas@kernel.org> - 2017-08-24 19:00 +0200
    Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Brian Norris <briannorris@chromium.org> - 2017-08-25 04:20 +0200
      Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Shawn Lin <shawn.lin@rock-chips.com> - 2017-08-25 04:40 +0200
      Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Bjorn Helgaas <helgaas@kernel.org> - 2017-08-25 16:00 +0200
  Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Rob Herring <robh@kernel.org> - 2017-08-25 20:20 +0200
    Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Brian Norris <briannorris@chromium.org> - 2017-08-25 20:30 +0200
      Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Rob Herring <robh@kernel.org> - 2017-08-28 23:40 +0200
        Re: [PATCH v4 3/4] dt-bindings: PCI: rockchip: Add support for pcie  wake irq Brian Norris <briannorris@chromium.org> - 2017-08-29 00:50 +0200

csiph-web