From patchwork Mon Mar 5 02:40:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 130605 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp2193348lja; Sun, 4 Mar 2018 18:40:48 -0800 (PST) X-Google-Smtp-Source: AG47ELs4G8rm8CmFwJPQFiKrMvJj0+hnvSETtL4q8K0oa/+YG8GbbyEhJL2zF2aKIuIEJSz0cgx1 X-Received: by 2002:a17:902:6b02:: with SMTP id o2-v6mr11920743plk.334.1520217648487; Sun, 04 Mar 2018 18:40:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520217648; cv=none; d=google.com; s=arc-20160816; b=vpNUrgMhHPzcAiXcY5j/kz77bYuLrYtIRwW5OeGUybpr9eAOQyg2QcYt2rx+w8XIIb qSzSp5cPtbk8nrxvXKoSe7kx1VVWnpQsm50Dzhh45yrADm+Eq+TFrq8wvrnt2NwASMeu DBhnhxfYrwqceNo4yV75HZi7cUounbwu5h7Mo0K9cd8FZ91YHxJcxHtB24wX1DNwkUAp jtPpjHT4VTFhtymbh0SS52uhaBIIiigohzDGqm/WPJe0XZlUpPtZ2dX0UxI2k/iEzV4F wsUvcAwpOU0xlWXkq+n07thkmSrunzveZCxWoMLOCnzQhBzu/THmD14tXwcFemoqWNGV UzFA== 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:arc-authentication-results; bh=S+BwPPAHnMVvnwUiepnFnTO+w+gcZiZTkAYKAGosYr4=; b=AUzdaGK+jU8kGxqVbjcznucM5SyafS6KXScQMk8/YVcIwPDi15OehNhZKDZ16XfpAz K8RkpBE2fAZ13KA+Y9rrwRzbf29imZV5iMDc6mss7MV6/JkV8GVSEYJI9BcoPB2sgurW gH0la/ZQVtOwXGCOSLXznOS+vZWV5kxKPVTdXbp9hqL5juEFR9EIZ63zkWDLa1zhg65R oMwgG2Idlf5n4XBEdpIuWreR0pdWg8QZ1csBoMv3AYwqNJkCWFKdivfjhlJjhBH7CRdY d+HlRyBfp5iF2el+33KawOYV4R2B/8Uw/Wnadd4pGKj89m6EYMFdOwK1IUjyaibQGb1i pLlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=imkOka3s; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19si3554505pfk.128.2018.03.04.18.40.47; Sun, 04 Mar 2018 18:40:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=imkOka3s; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752252AbeCECkq (ORCPT + 6 others); Sun, 4 Mar 2018 21:40:46 -0500 Received: from mail-pl0-f66.google.com ([209.85.160.66]:41862 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752025AbeCECkp (ORCPT ); Sun, 4 Mar 2018 21:40:45 -0500 Received: by mail-pl0-f66.google.com with SMTP id d9-v6so1381630plo.8 for ; Sun, 04 Mar 2018 18:40:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=yPgsNwMg9ciSnCc1NhDFfNkC8NAgX1i1ACsm1g9YrzA=; b=imkOka3sYHqibZ6yhZyTqEAz9mezLh6a+/Vt5YsAB4B8md/xC+pKFWQ/7CWVpZ4RJI 7sNMmSFvGDURnASJdE5ZMTUBzuHTcYoXhFA/oTVgdoUcOWQfAmKD5BA/MEdVXE5ai8PY zU9kz6wUZwYFCHHQ9eXOCHIpIIEjpXdgubcVE= 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=yPgsNwMg9ciSnCc1NhDFfNkC8NAgX1i1ACsm1g9YrzA=; b=nfSQKCwOZDjJyqOAOPyN+JZ89cc3FeiAbJnhNnYaSOJNbDMNCe6sOYZenqY5T07LSD S6d+6Fcs5aS7TRX478CgM+SQanbgI/1G63O46GtP/dvCOSE4asZV74kOVXiJB9wwUtAN apsvRPZDQsV1GPxvANw7t4zmEctx2yoe1iAI7205O0dwawjpqkJtEooSiAGKzwX4GxVe ZBmwXxeClZvXIvhMS11HXlLWxnt2E2R9l2j34l+hPnZ7TurFLs+XLN9kVtjKX/6fDShG 2Od17fdahXPbc6cmkzqB2PdKt4JXeBa4tFvxD7hpxvw7nQct5aGA9TzQElCqp/IhPHh+ hjYA== X-Gm-Message-State: APf1xPB84tA4VxREOjGoMj9Bvb1irOXbHBTLb8ZEltdCY+tFWQmLXz97 b2T1UWrlOuxN4uZoJQxdkOJjQQ== X-Received: by 2002:a17:902:7142:: with SMTP id u2-v6mr11735624plm.257.1520217645096; Sun, 04 Mar 2018 18:40:45 -0800 (PST) Received: from localhost.localdomain ([104.237.91.63]) by smtp.gmail.com with ESMTPSA id a13sm19820247pgd.1.2018.03.04.18.40.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Mar 2018 18:40:43 -0800 (PST) From: Shawn Guo To: Kishon Vijay Abraham I Cc: Rob Herring , Jianguo Sun , Jiancheng Xue , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v4 0/2] Add HiSilicon INNO USB2 PHY driver support Date: Mon, 5 Mar 2018 10:40:03 +0800 Message-Id: <1520217605-9312-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org It adds device tree bindings and driver support for HiSilicon INNO USB2 PHY device, which can be found on HiSilicon STB SoC Hi3798CV200. Changes for v4: - Change device tree bindings to define each PHY port as a child node, and therefore instead of adding a custom .of_xlate, we can use of_phy_simple_xlate. Also #phy-cells is 0 now, and consumers can refer to the phy without any number cell in phandle. Changes for v3: - Make combphy device be child of peripheral controller and use 'reg' property for mapping combphy configuration register. Changes for v2: - Move DT bindings into a separate patch. - Rename hisi_inno_phy_start() to hisi_inno_phy_init() for aligning name with .init hook. Pengcheng Li (2): dt-bindings: add bindings doc for HiSilicon INNO USB2 PHY phy: add inno-usb2-phy driver for hi3798cv200 SoC .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 72 ++++++++ drivers/phy/hisilicon/Kconfig | 10 ++ drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hisi-inno-usb2.c | 197 +++++++++++++++++++++ 4 files changed, 280 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt create mode 100644 drivers/phy/hisilicon/phy-hisi-inno-usb2.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html