Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp818030imi; Fri, 22 Jul 2022 10:06:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vMoLnSsDiKiwmX8IvdW5POV/x60n60txMoRHHKJGDCzNJdiiivR5vrRyVM+FyWSmuDbHX9 X-Received: by 2002:a17:906:8478:b0:72b:4f81:29d8 with SMTP id hx24-20020a170906847800b0072b4f8129d8mr643419ejc.179.1658509572949; Fri, 22 Jul 2022 10:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658509572; cv=none; d=google.com; s=arc-20160816; b=MpUF4Z6h/R+CyaXUxSbzPdcwEZM91cw3BJxRT6v+RKIeklWc11+ylaSSfbsVYp/Gp2 r3PDGo4zJNpllbq6jLyJlpMeQiNm2jU0Jcmwrc7C1fjC5DSs2Nve3nbrAzs+Y/wzE21Z 6hz4E1LpWi8Hu+KseSDCaxkrQHLJaan1qps5PJdVN9zmNr0dxYXaJMP8RqLsdTeFRPMf Ukh9f15iZXPgLcy2RU5VmgNfO9IQvJpUTQAsEttVPEf+5maCCdXW7oz+zJSxlpZrXNhL 95vjcTtWnlcxfMRsjzVZ87EIvBs/3HZxXe24DuJtGSGbQCaB8N+T086q0yeZbyIS3Ad7 5xiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IusqkAi12UkDRpxOqe5d+steBgvYPF1P177Hc5F7MjQ=; b=BT0cZDNDdTZil0oNlnqVEXnMJxyH56BYRqtjMLEZpH5mU7dE3DnKZEDscGyTlboyTd X7hQfY474Pv9J4zPNa+71uFRmij7GkEjI67Rd5dQv7vqKlW/8Ap/piREc3ILNY+y/rKr IUPa+lykFl2sFg9htH13qcLvPdDBgDQ6yyro3tfxGTSbPZwGOBK50FbosczZWYcH9vUb L46aJRe+2hVcjyXulqlRHrGjlrUDdwu7SG+jgFsfGguCZu3XLQauZka5FODmhcCrEPZY O9fr+L+cHa5VDWgEJJv8WG5J/12G/WXX/Vkpi6Vp5Fqkwm9v+ksOM/0geALeE063NFoT q2Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DpCEW4Vf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ek20-20020a056402371400b0043bc621ca87si4920603edb.613.2022.07.22.10.05.47; Fri, 22 Jul 2022 10:06:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DpCEW4Vf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235751AbiGVQdC (ORCPT + 99 others); Fri, 22 Jul 2022 12:33:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235752AbiGVQc7 (ORCPT ); Fri, 22 Jul 2022 12:32:59 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D7F69965A for ; Fri, 22 Jul 2022 09:32:56 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id bf13so4811977pgb.11 for ; Fri, 22 Jul 2022 09:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IusqkAi12UkDRpxOqe5d+steBgvYPF1P177Hc5F7MjQ=; b=DpCEW4VfqPFdfl/zi4G3wiRIJC5E6AT1Fp15VyxrdjVkV7k/smBEKKfZPOBrN5xL2y R0kWUB7XgPKpG1gklBR1k/B12m3qGBj4vQljirixvhrVKxbmUj9gniiCQcdaMHa9PBSi 6YZPQjh76JQ6pzsHyTGOUsznK2sx9R/6IZ+zE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IusqkAi12UkDRpxOqe5d+steBgvYPF1P177Hc5F7MjQ=; b=rEhQiZhb7eWVmWSCr8yoYW9zIdIO1teTK08mmrntRTwn7D6zsdGS4GeorVrrb6Evjh MY4PEY0edJ3w1FngY6/eOArJ3rtfYpQ8VgmY2JKE4XxYY+pyUS6dL2hhzi6UlD8Xd1Ua jr4+a2GzNqQ2w4IeW1CBoGhSsqSiLgNSaZbbC92qWb8tW8qH5fXdMzPVnBDgT5WMkpVd M5N0qqp82RryPp7OzdLSu1qmyuKqwYtDNcFbo2Pgsr0RxGz1sn9zbBAv2piMaNmKlHOg pckz6WouzdcrGgaBTNaLT/+e/mlFFYzqRcIy6yVepocrQJ7PWDgCj3AkNevnN/+4Dktw dLlQ== X-Gm-Message-State: AJIora8Xq+U+eXRhHilfiRwkCkQMTii7NIftTWHDwdjmhYs+1QxTtS5f oo/s0Qi+b947i3aSQ+g/jwxdNQ== X-Received: by 2002:a63:164d:0:b0:416:4bc:1c28 with SMTP id 13-20020a63164d000000b0041604bc1c28mr532460pgw.302.1658507571832; Fri, 22 Jul 2022 09:32:51 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:42b0:2897:3725:985a]) by smtp.gmail.com with UTF8SMTPSA id u12-20020a170902e80c00b0016a11b7472csm3987832plg.166.2022.07.22.09.32.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Jul 2022 09:32:50 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Stephen Boyd Cc: Matthias Kaehlcke , Konrad Dybcio , Krzysztof Kozlowski Subject: [PATCH v24 2/2] arm64: dts: qcom: sc7280-herobrine: Add nodes for onboard USB hub Date: Fri, 22 Jul 2022 09:32:45 -0700 Message-Id: <20220722093238.v24.2.I18481b296484eec47bdc292a31fa46fa8c655ca9@changeid> X-Mailer: git-send-email 2.37.1.359.gd136c6c3e2-goog In-Reply-To: <20220722093238.v24.1.I7a1a6448d50bdd38e6082204a9818c59cc7a9bfd@changeid> References: <20220722093238.v24.1.I7a1a6448d50bdd38e6082204a9818c59cc7a9bfd@changeid> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add nodes for the onboard USB hub on herobrine devices. Remove the 'always-on' property from the hub regulator, since the regulator is now managed by the onboard_usb_hub driver. This requires "CONFIG_USB_ONBOARD_HUB=y". Signed-off-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd Reviewed-by: Douglas Anderson --- Changes in v24: - renamed 'companion-hub' to 'peer-hub' according to the change in the binding Changes in v23: - added note about CONFIG_USB_ONBOARD_HUB to the commit message - added 'Reviewed-by' tags from Stephen and Doug Changes in v22: - patch added to the series .../arm64/boot/dts/qcom/sc7280-herobrine.dtsi | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi index 3f8996c00b05..1fd381a903de 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi @@ -144,8 +144,8 @@ pp3300_hub: pp3300-hub-regulator { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + /* The BIOS leaves this regulator on */ regulator-boot-on; - regulator-always-on; gpio = <&tlmm 157 GPIO_ACTIVE_HIGH>; enable-active-high; @@ -596,6 +596,25 @@ &usb_1 { &usb_1_dwc3 { dr_mode = "host"; + + #address-cells = <1>; + #size-cells = <0>; + + /* 2.x hub on port 1 */ + usb_hub_2_x: hub@1 { + compatible = "usbbda,5411"; + reg = <1>; + vdd-supply = <&pp3300_hub>; + peer-hub = <&usb_hub_3_x>; + }; + + /* 3.x hub on port 2 */ + usb_hub_3_x: hub@2 { + compatible = "usbbda,411"; + reg = <2>; + vdd-supply = <&pp3300_hub>; + peer-hub = <&usb_hub_2_x>; + }; }; &usb_1_hsphy { -- 2.37.1.359.gd136c6c3e2-goog