Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp418758imp; Wed, 20 Feb 2019 02:35:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IYQV4Y7iejTS+GuciavAxz78zumgcfRipiLVT+NzMdB8GQFu/HEvHW5KkTytx0sFks+ZwcP X-Received: by 2002:a63:6605:: with SMTP id a5mr7399855pgc.372.1550658921282; Wed, 20 Feb 2019 02:35:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550658921; cv=none; d=google.com; s=arc-20160816; b=SYE+bvsFF3qKK0Zmacdr/2HYVV1+nyUjwe2YNdfOWOXHZhtLI4Fo6Wdx++FcsYSaqt z1xExLXvjjd/F8pwyS0oLr3T9rMglVNWqMdU9D7GiXTyQJBHrHRDDtZ9evNZRsXYGUSH A6tZkcPaw4OdlP1MRgpmD+K9tLVwris/KR1b4XwnkUu7n32tIqPCNaTm1hOGT2PEFxWw IP5QZNjC7tBJeUb93nKuIZ5ocE+dqtmiZ7lfcfV8LBE73JrayQ+BbVu0DWE0fyYn1FZC r/KNXQvGDOI+/+pdg9t2gpPOhWTml3PQbM6yedo23y12s4UU4YltTt4qBI7jUl8EaEuu K3VQ== 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=LoXJbACm4qfpJVK0QcioZOmYMzbJaa02/fLx4G+wqrA=; b=EuK9JXia53QaNbu5/VM0FsMJ3EHLoMAWFnUvvMkoDWiIOK7imo163mwLui60swtnLQ 70W52Cs0v+O/Cxvu+tFGlR44rwRe23hyCAeMTcAIMiGvuG23k+AETFeo9ulHhQ9KzrNT +EKiJ5Bs2UKjcSydrjjhfDg0oTGz3fP8C/c9qxAWxcncjNNI9th3lRRNPh+fsrnUmZHs GVtXqbTwzdRBO+M9xNiab4Lb5Zrh394c8caE5yXNABSkcvFRrurLlQ8KfHyb7JBOd/wQ 2LxQGANzgrArUjtM5XPIOIPF1Vd6PqtHCl59R5hsRNGcp3gNO84uovHYRZSLL4bz7+PJ SvLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="F/46hAzy"; 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 p1si19360103pld.353.2019.02.20.02.35.06; Wed, 20 Feb 2019 02:35:21 -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; dkim=pass header.i=@broadcom.com header.s=google header.b="F/46hAzy"; 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 S1727508AbfBTKef (ORCPT + 99 others); Wed, 20 Feb 2019 05:34:35 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:33066 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfBTKef (ORCPT ); Wed, 20 Feb 2019 05:34:35 -0500 Received: by mail-pg1-f196.google.com with SMTP id h11so9310261pgl.0 for ; Wed, 20 Feb 2019 02:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=LoXJbACm4qfpJVK0QcioZOmYMzbJaa02/fLx4G+wqrA=; b=F/46hAzy+34sl3xZayCBuuR45S2kedLKyv8f4jRWZe/kMpWcxPD1kMyYb588x2d2vI 9SIKURdT9fkwhQTIfs/3HIPm2tGnZGceivjbt8sts7v31cE5z0T7bVnfZrxeW0cZpQTV IyNh214XvGR8l8mfOBirlemNsjRbdZPaJiNBc= 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=LoXJbACm4qfpJVK0QcioZOmYMzbJaa02/fLx4G+wqrA=; b=M/AOQyBHYcJ0TTpUEzKH7xQ1qZCPtovywAXw5vZQzl4+4XV6fi1QGjWp1BYKRanJBb qpFO7po+qRJMz/Cwt/5T0XpPDJU5dwH8oZplExEnrg8NDmO1dIkKfvnv43E+DMi4zV9E LEgtrCtQHO3uqNkJMjqSku4SnwZ9qLhGzBqw/EGB0dCI/VdYAWwwRrTLT7nRIHff2r64 20kN+8OL9nYAe7XTsDgHLjIwIdp+DPovMw5ocqn6otsfvc2QdYlgTkoYrn0M0U464MAw OOVIVzPiodqMnP/DhCmCJY3EGpEGS4eIOIrLQKyzM2CMMoReGgK6j6fcd3+1v+wq6vZa 3VrQ== X-Gm-Message-State: AHQUAuaFBHNcUrYm1kEoKBGiRAcOKcdSNv5ku41OKBbQnMIkdxbSO/Lw 22nHU3N8GZBuhZzpFHYHzMtDSA== X-Received: by 2002:a62:138f:: with SMTP id 15mr34097963pft.219.1550658874522; Wed, 20 Feb 2019 02:34:34 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id i71sm57426796pfi.170.2019.02.20.02.34.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Feb 2019 02:34:33 -0800 (PST) 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 v4 0/3] Stingray USB PHY driver support Date: Wed, 20 Feb 2019 16:03:59 +0530 Message-Id: <1550658842-19167-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 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 | 62 ++++ .../boot/dts/broadcom/stingray/stingray-usb.dtsi | 95 ++++++ .../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 | 371 +++++++++++++++++++++ 6 files changed, 541 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