From patchwork Mon Sep 13 08:00:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 509952 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48642C433EF for ; Mon, 13 Sep 2021 08:00:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A50860F92 for ; Mon, 13 Sep 2021 08:00:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237838AbhIMIBy (ORCPT ); Mon, 13 Sep 2021 04:01:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237853AbhIMIBx (ORCPT ); Mon, 13 Sep 2021 04:01:53 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2B71C0613C1 for ; Mon, 13 Sep 2021 01:00:37 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id s10so19215258lfr.11 for ; Mon, 13 Sep 2021 01:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vlYI72az+h1GSzT+KG/59hM5JtHvcZcByQ0ounNHO2U=; b=DPK3BL4e38LGamDuhR47D9vYop2OOzeDkoJkoRfQUS17RgpWs74+DhDV1Hj9DFji/o xr8wl0cYH5ymAEBdo7LFalu2Y5g1EjRilB7yK003AmuB3feVGtv8jEOIqDbHREoDRZ11 7t/+UiFhiK6+fb/3pwq3Wzq7aNxWExKeptBoM2iIZao8NExX+tsAYqudgREe9DKbtYDf 52JJXyiUQeWJa7y/TbOW/8rW2+IuTLDawya+CWSGil1R3e3721B+aVHIYhd82kLE59aF QGsvbYa1/t0DrCz0HB+3IC/yHIKKftiL+6tMyvqCSf1/HK0GtfTST0ZwPyMRNyXoqNQj 1CBQ== 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=vlYI72az+h1GSzT+KG/59hM5JtHvcZcByQ0ounNHO2U=; b=buroC5RH1vT6Ceo0l3Y24GIjNQxZ05Ao941ivcAs/biFOUuS8RawiLPAbFAQwgYGwO n22DsAlfx4obzJrlx0WBbXKwnd1Ub9XVo5wd6ORFLiop+3pYUKG2w8qqMtWbNBbr3F5u dPKFErJuwsBZ6Z3VSkTjRPQiuTGrX+epsRRzsf3G4cM8pMsxw2d5Yp2VoW0PPHQJf4zU 3n8v5DrQ4ZC6PbXE1UYxEqFLTpHhNA7/fWkTWqUDnCDQP0uVVA1Bx3MkuVSC3UJDPXyd YJgu1BTQeAlfRDzFsHRKJZXj1ufvezbzpS5i/zm/jHfz5xnEc0q5qcH/SIZ0dnqNp2BY MELw== X-Gm-Message-State: AOAM531D8Lllh9hJ5GzyRjco37TWloJQ7TMkmb9cpqjyWswoInvKpxrf 7jACnAQ+tJh5EWdWLUPxrSM= X-Google-Smtp-Source: ABdhPJxUllraKRY8XIslWCFTdKHXnhkQWzeqy+WPW56KQM0UrCO8UgCllmPbOcb+rQzy5LYj20jUIA== X-Received: by 2002:a19:3818:: with SMTP id f24mr8119306lfa.601.1631520036157; Mon, 13 Sep 2021 01:00:36 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id t13sm747059lff.46.2021.09.13.01.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 01:00:35 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Kishon Vijay Abraham I , Vinod Koul , Lee Jones , Rob Herring Cc: linux-phy@lists.infradead.org, Florian Fainelli , Chunfeng Yun , devicetree@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 3/4] dt-bindings: mfd: brcm,cru: add USB 2.0 PHY Date: Mon, 13 Sep 2021 10:00:23 +0200 Message-Id: <20210913080024.6951-3-zajec5@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210913080024.6951-1-zajec5@gmail.com> References: <20210913080024.6951-1-zajec5@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Rafał Miłecki Northstar's USB 2.0 PHY is part of the CRU MFD. Signed-off-by: Rafał Miłecki Reviewed-by: Rob Herring --- .../devicetree/bindings/mfd/brcm,cru.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml index bf4e585d3c18..262284ae80f1 100644 --- a/Documentation/devicetree/bindings/mfd/brcm,cru.yaml +++ b/Documentation/devicetree/bindings/mfd/brcm,cru.yaml @@ -39,6 +39,9 @@ patternProperties: '^clock-controller@[a-f0-9]+$': $ref: ../clock/brcm,iproc-clocks.yaml + '^phy@[a-f0-9]+$': + $ref: ../phy/bcm-ns-usb2-phy.yaml + '^syscon@[a-f0-9]+$': $ref: syscon.yaml @@ -52,6 +55,7 @@ required: examples: - | + #include cru-bus@1800c100 { compatible = "brcm,ns-cru", "simple-mfd"; reg = <0x1800c100 0x1d0>; @@ -76,7 +80,16 @@ examples: "iprocfast", "sata1", "sata2"; }; - syscon@180 { + phy@164 { + compatible = "brcm,ns-usb2-phy"; + reg = <0x164 0x4>; + brcm,syscon-clkset = <&clkset>; + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>; + clock-names = "phy-ref-clk"; + #phy-cells = <0>; + }; + + clkset: syscon@180 { compatible = "brcm,cru-clkset", "syscon"; reg = <0x180 0x4>; };