Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2211814imc; Tue, 12 Mar 2019 09:08:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgnl/cYjAh/L4KWdnIQTLRUYxgl+980KPcEssLBtEzDg6FLDXwBD6bh2oA2+eMJHjPqqdy X-Received: by 2002:a17:902:20e5:: with SMTP id v34mr40726768plg.319.1552406888769; Tue, 12 Mar 2019 09:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552406888; cv=none; d=google.com; s=arc-20160816; b=NiZv7FgR2qhpUq6KlnGw7ezQh9nLj+iHxz4FZwfvsT1v5G65IaFf4bfjECEWqK57P+ hUZMYnL46NJ2lKs5RTxC//FuAF2HhzYNVBi2zpfmt2RN4QmGsYBGJdOGZUrp0Ei7EFPg xQ3qFEJKp1zloLqUD30bxE2iHCeAOwbcdOm1W26I7TV6zHFjgfSMFVc7BO5Jr21HxLMe neqjlnJ0fgd0ajiG1CgDkizehUyZMKEk9g1aFenhRJnsbvuKkPxpDpiWJptORJ+J41WD rEgUqjuyLvqBVaYmK0FBLWQkts3j4mW4sCcHb3YjXB52tRx1rCXWFbjMA0b98i7hgYye so+w== 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=zlt/jmx4V61Shf5QPLhKkir7eUUMQGfCYNQBZevcH50=; b=GRQqQrIRhCbx/TN2aixUwIXZ8fbbNv8jsL9F4JwijyEF7VpAV/9rTqTkaYA/vreah8 UAhJE421LbJ+9v6BdFCnse+54wA3sQVDzuB9SbMvHrv2lcmT+SA4mNZLwtl6SfvtBh3Y yh8uz22tA8twflhWQM1FgORfNuxJIJ3pKaRfZbhaxU7M5wioypnRNhf+H2AS16MS79VF AUxk7ciMLnfIaYWUoH+1SHEP4NgMfFFm/yy7TwPIRylshfI51EOBRO1+uUzTMeNi91gU 1AWxBL9u+K31B1gqW+w76Re77YrRgs0Hh4eZ3k7mEVhA7mYVblSaVmo4RyFA6LPvh8DG e8QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=QWjsKFD5; 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 g16si7868974pfd.263.2019.03.12.09.07.52; Tue, 12 Mar 2019 09:08:08 -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=QWjsKFD5; 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 S1726623AbfCLQHS (ORCPT + 99 others); Tue, 12 Mar 2019 12:07:18 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:35319 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbfCLQHS (ORCPT ); Tue, 12 Mar 2019 12:07:18 -0400 Received: by mail-pg1-f194.google.com with SMTP id e17so2186420pgd.2 for ; Tue, 12 Mar 2019 09:07:17 -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=zlt/jmx4V61Shf5QPLhKkir7eUUMQGfCYNQBZevcH50=; b=QWjsKFD5c8dv4Hy1XD/hTlaHxeP4olGvWbkbslc8aV9FKLWO167cvFvRBlp4ierGk4 fyZ7GSzzCsjne8u53u5QAbt2U1wBS40auKHVCLHAhB/57K8HWFvbmR3ycyly+vLfzgYH ephyXevfVcmBm9HORYlwV9MslUCVKD6f5spKo= 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=zlt/jmx4V61Shf5QPLhKkir7eUUMQGfCYNQBZevcH50=; b=r0KGvs6EdO4rmkc0/UB5C/xq/HRI0K09Nyh0eEv/YhcRtTBDS8FmJK6nSP7pwq8kK2 d+CThc6b64/rq9vpuyGbYh+8d5c7fL/LbcR5wrCRKSlVLCLMwyewwnR8VJzrrHxjIpMd ObYigPUJYjl1KUhBT+LnUayqeQ1mJeXrbwD7VAphRDsSo4VjhjlEqsZHMEASZo2MeVmt qxECNUhs9JZlsZe0ltoHcDkAiK92G+6NfhaNIMJwB04rHQVMnKW8UGsC7vIulZZ91Nv2 pImf7lqm0eqBgTAx+U9tv3PurPOakRr4khB9ePXgIjBoyj+O0bVL00dD08dCkbEZK4Ld 9sAw== X-Gm-Message-State: APjAAAVlFXMKUv+24heaR9IsfNBoZ10hXIALG1ZQbtSrPTGjzD2ukCQ4 50iC/+/EH/3WLiCnyhAawnKFRQ== X-Received: by 2002:a62:b415:: with SMTP id h21mr39065830pfn.26.1552406837244; Tue, 12 Mar 2019 09:07:17 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id z12sm12875854pgv.0.2019.03.12.09.07.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Mar 2019 09:07:16 -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, Srinath Mannam Subject: [PATCH v5 0/3] Stingray USB PHY driver support Date: Tue, 12 Mar 2019 21:36:18 +0530 Message-Id: <1552406781-5180-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 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 | 40 +++ .../boot/dts/broadcom/stingray/stingray-usb.dtsi | 78 ++++ .../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, 524 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