Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1187549img; Tue, 19 Mar 2019 02:17:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmsSeNshUcZIoXLtRIZ/qLnqTO+LX56BfWBOtYlb38tGCfUq7g0Xq4kS/ikb/MFuUVKuE1 X-Received: by 2002:a17:902:8f81:: with SMTP id z1mr1008048plo.265.1552987036508; Tue, 19 Mar 2019 02:17:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552987036; cv=none; d=google.com; s=arc-20160816; b=FHQlP//yFn4TJh+3BLqL5v0J3AlUX4xX5JmJDmNEGxLARH9L9DO7KeculU8Cxl8exM uJrclz1fWRIjtFH6S9Ko63OVKfI5WuoPqhyV3zi6K2u+GhiRpI8JS37I2sI1Gj8PYZsl /O97frjH+HrUlrxLOED8uU4MEgK1qy+WzPcxr+TYMldA4mQpSPZwzYu+M4Gpl5Sa0Pts w0vmlYjkR/cKlWsI36kd01mpgoSI95gb2uTVvIgigO/cJGFdykIHN+JT7SXabBmoigh2 4KCwd5ycWto/U8y6Q8I2V/HDb3gX0Z3bftzXbxX4B2T1SmxVMggBDenSyW0gc9koS3cH P3uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Hc2ldVTUDt5Qd5qKJu2C5KWL5G9ldGlFOFxbSm3TKf8=; b=K3iL/ZJbnHeIAQWeZBlsOiZxpz4wwwfteO/4rqRHhkmN3j9Fw7OkjpWos8zqnZZJjh tiQZ9s+6FNfX63oYAw1V7txd9nxxgkeCVNmMntICDn2dEKkob5Y5cUclQPwCEzugtJ1S flUCBZQVWLkSxmPglXaAMlgyUvk2MQFb22+gXyHKrNx0KwvJCbinApBYrnzUmtp1tfRL bSMW0dSaNOd87A4EtEOxeUw9YQugHSHQnSQx8QeMp6ZykhxIosH9EaR42KMNgng6phG8 k7J5Opo4NryYI0rQM6Qs71qrlqxck+UlX5ndMxGH6GyjMpBS/xnRzBLes7FzYZd6G2Zh 2EHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=XKIomgdb; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p17si11222005pgg.259.2019.03.19.02.17.00; Tue, 19 Mar 2019 02:17:16 -0700 (PDT) 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; dkim=pass header.i=@broadcom.com header.s=google header.b=XKIomgdb; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727469AbfCSJQR (ORCPT + 99 others); Tue, 19 Mar 2019 05:16:17 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:52081 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727408AbfCSJQQ (ORCPT ); Tue, 19 Mar 2019 05:16:16 -0400 Received: by mail-wm1-f66.google.com with SMTP id n19so15761888wmi.1 for ; Tue, 19 Mar 2019 02:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=Hc2ldVTUDt5Qd5qKJu2C5KWL5G9ldGlFOFxbSm3TKf8=; b=XKIomgdbFJ2iGXrpxIzbbPpuO5BP53FvSWwiHZbJTfCGvpUTMzd1r2zMAMHG17yJ7l sfKh8dFAAMOUjcZn4D//luB9+urcY/cYufOPP/dpNcBmXOdH+skOBiAmVeUukE6zM67K tnQt+hPYiTujjcYtnMoiigJPX5sXj6UjVrlQ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Hc2ldVTUDt5Qd5qKJu2C5KWL5G9ldGlFOFxbSm3TKf8=; b=mHdE1UhTBSeiQuoLVieoGRzF/er//srL4kQrgS32Jn/20q1dpoYPfB62MmDlKe4o8B ge7Q/74F1KSlm5n/HG9+xyyHEvlTWBXRXUVaw4U6gfyFNuPChIuOqtXebgfyACUnpqpT 3uXGDSXMvU57+6c5KYN2eqPtDKXuAAOBJqob0gUWX9P0CgherBvv3FjqlekA8RSYR7ek sh1EeJoEQVuMvXfQZ1H6q0yn0guHlmweaqXby7IwWM9AyZlFbOFNyKHWTaSqO3jLKtzv CCdq9tHFnAaxDXx8+v49Cg2Ri3Mevn0upbofrqSmBBLR4fP0hX2CEN2jR9drgL8sbKve qu+Q== X-Gm-Message-State: APjAAAWpM85nKXDMvbJd37tL0R6Qh8Eh9pDDPVOYfGjLpb3WbTr6ttFx GYisGny6Ut7ktAkTtUZAGDZxJA== X-Received: by 2002:a1c:a186:: with SMTP id k128mr2567746wme.54.1552986974881; Tue, 19 Mar 2019 02:16:14 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id w10sm14875743wrn.32.2019.03.19.02.16.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Mar 2019 02:16:13 -0700 (PDT) From: Srinath Mannam To: Rob Herring , Mark Rutland , Kishon Vijay Abraham I Cc: Tejun Heo , Jayachandran C , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, Srinath Mannam Subject: [PATCH v6 0/3] Stingray USB PHY driver support Date: Tue, 19 Mar 2019 14:45:41 +0530 Message-Id: <1552986944-3398-1-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches add Stingray USB PHY driver and its corresponding DT nodes with documentation. This patch set is based on Linux-5.0-rc2. Changes from v5: - Removed redundant address and size cells in DT nodes. Changes from v4: - Addressed Rob Herring review comments - Removed child nodes and added #phy-cells 1 - Added xlate function to get phy using phandle argument. Changes from v3: - Addressed Rob Herring review comments - Changed compatible strings. - updated driver based on new compatible strings. Changes from v2: - Addressed Kishon review comments - Updated patchset to Linux-5.0-rc2 Changes from v1: - Addressed Kishon review comments - phy init call return value handle Srinath Mannam (3): dt-bindings: phy: Add Stingray USB PHY binding document phy: sr-usb: Add Stingray USB PHY driver arm64: dts: Add USB DT nodes for Stingray SoC .../bindings/phy/brcm,stingray-usb-phy.txt | 32 ++ .../boot/dts/broadcom/stingray/stingray-usb.dtsi | 72 ++++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 1 + drivers/phy/broadcom/Kconfig | 11 + drivers/phy/broadcom/Makefile | 1 + drivers/phy/broadcom/phy-bcm-sr-usb.c | 393 +++++++++++++++++++++ 6 files changed, 510 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt create mode 100644 arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi create mode 100644 drivers/phy/broadcom/phy-bcm-sr-usb.c -- 2.7.4