Received: by 10.223.185.111 with SMTP id b44csp396401wrg; Fri, 9 Mar 2018 06:50:58 -0800 (PST) X-Google-Smtp-Source: AG47ELt7owzoYRMqAUCQFGzQmySnSFBWsLCkYR4nXZnevpF/NqeVgm9jMGmwCup6tWvRsURsjXWm X-Received: by 10.99.125.25 with SMTP id y25mr24703577pgc.227.1520607058045; Fri, 09 Mar 2018 06:50:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520607058; cv=none; d=google.com; s=arc-20160816; b=KW8bGzVswtTk6G/lvDQGwtNRv4kgMxYk3xqou8ZEkYOhVJ/r+veZAhhj9T75xFvQOa rum4CkRtT+GE63jXsYVvTIvMN4tDS/fG/d63aDpwtjvnSTu1tPk+79Gs/kzt2PjKDlCU DegWVCk2ktLvs3W7kO41vnNJwfalZoiBkqIXo2mH/zTXDpbAGMmrxoV57PkEvlOC/eEm lhyCFxuJ9sgafKXX3H9S0xE99uohm8Qo8BVYZJ/1ENrwRgFZmFWZx+v7BC1PII0PUoTy +XxtyYP8hgHPM78cUvWDQkh4NZSnP17EcPb4QseOGjnODc9zLT4678FnUCm9sulCTEl3 TSnQ== 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=MxB8X1pTTIA7EmzBBZiLkMElpgTFY8IeNJXUmwvHUTc=; b=HHsr3+CtLfeQsPNoSETZQXwSGJpvdekWK5p3XxmDjeN4016SjVXFLBYTthiznLn9n0 7u3+IE9f9j52PwmYgWTf7JOJsWf3FmCW6NhEVSr1cTcweRoleNaoX6dWGccKIVbAp2Cu r0ixCdVbvCewJhHggtgMuKLYdrGA2FM3hUdYknjjSDjlUXOKIg+OonNrhtpZVDMbn4yY +YWiw7llJQBAYkVgSjWrwEUm2/dOfyC9cMUMT3Wej2T4PDiQzgLWMdCIcuze2zXdhv4G 3UtGzvTtfehGySAIwa6Sililc7Z/67/T9ylN7gkpu7LSTNFlwWwSpQNT1UyyfzC/Ib/L cISQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KfPhuRe1; 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=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 j7-v6si960738plk.627.2018.03.09.06.50.43; Fri, 09 Mar 2018 06:50:57 -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=@linaro.org header.s=google header.b=KfPhuRe1; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932142AbeCIOtb (ORCPT + 99 others); Fri, 9 Mar 2018 09:49:31 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:42577 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbeCIOt3 (ORCPT ); Fri, 9 Mar 2018 09:49:29 -0500 Received: by mail-pf0-f193.google.com with SMTP id a16so1357538pfn.9 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=YtjKEcQCfHUKFxx4m+FuFoePai002fhWM7YL7AZpd0ZSr9aqEfogmjLNVo8AbnaimK tGbyxP8ZVTdNIuk3Bp46OsJiY5qjjLaBb6PZS6XFOyDaqyiXLLelXbIrf0ov0QYMA+Qh 1GfKvvJx8nVEEBHWy+3YOz8WmQmy2guOYOI3KSgGAD8J1/40UI+eXG1DxivxZgAnZ6f4 cvbI/tbRWoKveA294HF1AED2qo59qOeLnD35q7D15EK1O/f0zjyuWJT+LKJwt1JS4Lu1 ZjYes+GZcdkhjiI1cdAkJs6KbTjuMCAZhyO/7MhTh1/aNikAURMvgYu5kmdLfUlZXFbE Vl/w== X-Gm-Message-State: APf1xPBWLuvhjDDLIQLAB4SwcBvibxDFtlOBVxpYp52EGdDTNn1ApBqY TSRlwvYQ0UTjqLNBSWAeqpFGKhRNwjQ= 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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