From patchwork Fri Mar 9 14:46:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 131109 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1076186lja; Fri, 9 Mar 2018 06:49:31 -0800 (PST) X-Google-Smtp-Source: AG47ELtzf6p6+JZSfQXUtVE+K58FvTR5mS8Zya/82Uija/+aQOxwXJAcYVx0mA7DjLXT+g1tl6Iu X-Received: by 10.101.75.140 with SMTP id t12mr25212257pgq.442.1520606971498; Fri, 09 Mar 2018 06:49:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520606971; cv=none; d=google.com; s=arc-20160816; b=cav7/ctiFOvwbVrb2X0XP25Y2ldcQfIFddLFKXnHRNUq7ukuNAJfDsioU2gTmq5bZB QgTJysnJTcKTFMZVYUHE1QgkeVL9mQi2Dv1V6qqpFgDSh86fTjZ4zKIQ417WbGYQQG19 IMMDMkn0w2/AHCAnX+0vGLU+4MOyFMoJY7JA0T3GCArjU0ma/Y8E0mgIIAxKdOeOB6Mz PVGfWY/uE/370hgoOYWYbst6It8HgWbnqq15dvKUq4RP+JU0ZxbMvSyiVzz22lQyJSky 2n/OH7HzDljDfhNEjaclhD1ZP7xcFS1laDXqz9RT4QHb00zDAeiARlJ4kQwOYqCzsecN q+gQ== 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=95wBkWI2wH5o01YUxGbvKa7hxUK22g5fig75YS+db+o=; b=oyHp5zlmEn2vQvN+hwv5gEwiYPyEBkwmVGR7X0Ko0VnB16NAyQKug2ZJRU/RdpbEFe X3huyAdOYuW30jPMFoQfNKn1wFgzhbtc4nHZuthjUM2gVKcmBokARjV7e+SMKN3PnQpZ 1gauManFOsvI5hp1ApP8NTLcufoUyu212T9fnFsz2yb+e7BxU/p8d7S4QD/J+/Yb2GD/ w2XZsLH6rQ5nqtNJQO0W+qLnscX0tmMf+xPb1s02aSyoYaiiNbw381xJ+LRKb/zZ4lZO G2rc3Msk/ofgo0WHQx5AqVzj/8wJtPvIOqpp0TL/IJzcjETD/goPOioGU5deZ9szbfoo yJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KfPhuRe1; 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 i2si837069pgq.40.2018.03.09.06.49.31; Fri, 09 Mar 2018 06:49:31 -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=KfPhuRe1; 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 S1751182AbeCIOta (ORCPT + 6 others); Fri, 9 Mar 2018 09:49:30 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:39023 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751170AbeCIOt3 (ORCPT ); Fri, 9 Mar 2018 09:49:29 -0500 Received: by mail-pf0-f195.google.com with SMTP id u5so1360427pfh.6 for ; Fri, 09 Mar 2018 06:49:29 -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=MxB8X1pTTIA7EmzBBZiLkMElpgTFY8IeNJXUmwvHUTc=; b=KfPhuRe1S41zll4JdKOT+DkuNHVVJs0aCUX15Kd1TrACYwXbrSemP9r9cV0Ma/LaA7 e2Z2lN1YGTQF5RGS7yX3gMjjenzHtPc1gJkR7jObN5QkJtMOHpThMRx4FBhwNoacuT6y otSF+1pvbdx0gA3xdJ+YlojlMFu4PNSEpIfKY= 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=MxB8X1pTTIA7EmzBBZiLkMElpgTFY8IeNJXUmwvHUTc=; b=SiSsmykYPw+mmtkq5kxgUgX98bclENtAwg/yQ0C90BSrOzHk+a81usYzoN6KClN6mJ K6K1IwdFLGlqL332k/anxNSOX+hmm6mrisePOa47SbjZJ6yx6iRa/GdkO6SImJ1OvbzI kOXF9RUJ2saDizTITgeIdVGZ2rgjlZLa3I/OeAnYGTcWxjhEgoO+VHPYx4+blBlupo2N SkZyGxhrHsox74jrTv+Y3z3NXvbDKM9iPWJg/g67Wkt6hXt1dJnzmeIn/48vEgk0w8o4 nI1bg++MqC4IVoUbBS+Up3jdkSk8hN7OJfhfc91CLtYBtbjg6IZnnDLpxE95ne0zdfou YicA== X-Gm-Message-State: APf1xPDDyVTzTwlHpRPWnv8LwFAnnJATdqc+Y5kt2iY0TrgKAEB8pFI7 +7PRX5MMdXE4Jzg2eKiRtacn0Q== X-Received: by 10.98.62.196 with SMTP id y65mr30071461pfj.24.1520606968960; Fri, 09 Mar 2018 06:49:28 -0800 (PST) Received: from localhost.localdomain ([104.237.91.63]) by smtp.gmail.com with ESMTPSA id o184sm2919071pga.16.2018.03.09.06.49.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 06:49:27 -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 v5 0/2] Add HiSilicon INNO USB2 PHY driver support Date: Fri, 9 Mar 2018 22:46:59 +0800 Message-Id: <1520606821-22582-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 v5: - Drop "syscon" from perictrl compatible in bindings example, as it's not really required by inno-usb2-phy devices. - Collect Rob's Reviewed-by tag on bindings. 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 | 71 ++++++++ drivers/phy/hisilicon/Kconfig | 10 ++ drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hisi-inno-usb2.c | 197 +++++++++++++++++++++ 4 files changed, 279 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