Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp36085ybf; Thu, 27 Feb 2020 15:31:15 -0800 (PST) X-Google-Smtp-Source: APXvYqw9hLvCD2fu/Ok3BJvwFixbMQ+V2sVKVMHX5lWEHuZtM9yPIiK7VL2GGFooirRDARrLQ5Oy X-Received: by 2002:aca:4309:: with SMTP id q9mr1179829oia.158.1582846274885; Thu, 27 Feb 2020 15:31:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582846274; cv=none; d=google.com; s=arc-20160816; b=niheJjL8vCS+sAKpxWXvyTRel/pdi6rKFuCcGaLSG1MYkqtqJX+CUNBidmgNqGtmaR Rg+1C0kcEtZjuwSuxIUlV1yamxqVxe0/dU4iZQXdqfPgfOBNmsauxLYX2+0/oCNFwUFj xqCQf/QKZGs5uuKojhx5xxaVqlwfkA9Ou2yMvEYrVn0Uzmd6AQqcWeaSM96bFZpkgr2/ E4iDG/S8Vk+2x2FoVWKLyWZg5a8RXylWF9HZTIeMbg9qO5i2Z6CsGhXzFUZT/GT9LTSH qnxOE49ADOFe9/UoQxgNvkkggeeJJaMdQYVUvo1bgINNVHNaAXQHt6bXGYDCBjthuMWw JQVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:to:from:subject:message-id; bh=KKX4BjZZvLbXtDVDJ5vOhGZwtuTZwtzmk1YynXL2QqI=; b=pk0eiRw+jUDuF0JxXQmiayh0QDQ/QG5M0nXegZK3TC5ho8gTmohNJNGt9M+v+xDYSJ hrrqZzhmYIiE+WOv10/rLjrRuVjPK82YlQHjRSYzoQa1krG0E1j05u2fGh/fz600QfWn MJknU0fcf36vcDW+1ltgZPVAmzpexCesIrmt2ahonTT1JA1McafiXlCAEyHuizGUlvXb 1UpuAkyt/r9p0JDOQzmJtiNpfUPrtqH7mmuKOQCce47KxpJSNzNBzeDkDemlXcljGjx4 t94ki9T9O3f4Sowx+o36sNcVlfn7W3YKILp50ADJmQNwscU7cEcIkdQEm22RPLcCNofC 9bkA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9si467009otl.138.2020.02.27.15.31.02; Thu, 27 Feb 2020 15:31:14 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730004AbgB0Xay (ORCPT + 99 others); Thu, 27 Feb 2020 18:30:54 -0500 Received: from kernel.crashing.org ([76.164.61.194]:37124 "EHLO kernel.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729838AbgB0Xay (ORCPT ); Thu, 27 Feb 2020 18:30:54 -0500 Received: from localhost (gate.crashing.org [63.228.1.57]) (authenticated bits=0) by kernel.crashing.org (8.14.7/8.14.7) with ESMTP id 01RNU3sQ030322 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 27 Feb 2020 17:30:06 -0600 Message-ID: <3150424b9e9f5856c747a0fbf44647919f49209d.camel@kernel.crashing.org> Subject: Re: [PATCH v5 7/7] dt-bindings: usb: add documentation for aspeed usb-vhub From: Benjamin Herrenschmidt To: rentao.bupt@gmail.com, Felipe Balbi , Greg Kroah-Hartman , Joel Stanley , Andrew Jeffery , Chunfeng Yun , Colin Ian King , Stephen Boyd , Rob Herring , Mark Rutland , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Date: Fri, 28 Feb 2020 10:30:02 +1100 In-Reply-To: <20200227230507.8682-8-rentao.bupt@gmail.com> References: <20200227230507.8682-1-rentao.bupt@gmail.com> <20200227230507.8682-8-rentao.bupt@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-02-27 at 15:05 -0800, rentao.bupt@gmail.com wrote: .../... You haven't fixed the problem spotted by Rob which is that the example is now out of sync, it's missing the required properties. Also long run I think best is going to have a child node per downstream port, so we create a matching linux struct device. This will make it easier to deal with the other device-controller in the ast2600 which is basically one of these without a vhub above it. > +required: > + - compatible > + - reg > + - clocks > + - interrupts > + - aspeed,vhub-downstream-ports > + - aspeed,vhub-generic-endpoints > + > +additionalProperties: false > + > +examples: > + - | > + #include > + vhub: usb-vhub@1e6a0000 { > + compatible = "aspeed,ast2500-usb-vhub"; > + reg = <0x1e6a0000 0x300>; > + interrupts = <5>; > + clocks = <&syscon ASPEED_CLK_GATE_USBPORT1CLK>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb2ad_default>; > + }; > --