From patchwork Fri Jul 24 06:05:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 11682093 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C310159A for ; Fri, 24 Jul 2020 06:07:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2503120714 for ; Fri, 24 Jul 2020 06:07:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xkx0FLGH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="mATuAJBr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2503120714 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=LNhtiaNMlgrnW6kveHK3g1EF+lXvKLr/4heXU61IZMo=; b=Xkx0FLGHXeEbMiqe81lembJ6hu 1jsJmWbs9T7isdPMAgRexCC0hdZXEHEU3MLr8kGMDB+7iGD6fPBA7mEd3WVcJnmEVnBCM3Wkilc4o YE+6ALmy1qoUZX7yfUnaqgP9oaJP9vQW7fneoN1DxKbvfa+9OafDvmVjkVy2ntADUSNfN1x/3OM4R epUx/MwbKHil6ddaBUJS72Ys9mEAYUtiJMo9s3wBK52i+wNdVxQdHO2jXCi6aFK/Xca5QFRCrKow/ nOjV3vC90CRWXKDDi7xXA7hCy2G9CGBF6ZBYVNZUKZTNhpNln9FWYro5uBTuaQbKSwHqV4BLLU/Uo f8wdPzLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyqqP-0002j4-Js; Fri, 24 Jul 2020 06:06:09 +0000 Received: from mail-eopbgr80074.outbound.protection.outlook.com ([40.107.8.74] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyqqL-0002ho-WF for linux-arm-kernel@lists.infradead.org; Fri, 24 Jul 2020 06:06:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n5PKGUQC+xBO4eIuFZeDMk4txcjEO46l5CETqa9pjFx7TYROFy3BQuKm8EQzbdsxT/v0uWzCUzKQFeY+ZBVHxFpt+CWwuxb5Rq6E9iEPL8d+YwbITkBykzIqLuwJhcj8fMt65EJF67r1+ox8pIxYU2HfCGT+n9BSyd6o1MP+uMGRnBGNaKFlR7XIshTXWPrZcRMQ8ZYJWDVdqM1J4ia7Ea15qcEb6QO269JBNcJzJ7NxqDB45F7ZEuzlCarEoYN/PLAtacbQb2QZQvvNR45Ht8x/eJaswekI/CMnMP4iIkkutLkw/50fUJvkASaBtbh0rkFq4AIqEZPl/iWSQHwKkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xi6jnBWHV/a3CzufHWQlHz8iPZvYAo31NvK35eWlMKw=; b=av+VJYkdGWRtEeeO5CtB9wLVZz+8tX/Ylh3dT1xDCr8SNBS7bp3CZjJwQFgUxhdewyhU/qtdonYQGn1U4CCMsT4sRLsN34kK0k2rkgq1+pM/EdaKFobRmpkCtAtA2tCJpJs91hqKvJ7rx5UlGTTDJP6nIVfNbynU6rkiVDWTTX+qXaESUcnIP01v1ZiQisupzTGECQeAL2qMayf541CTEf8ovKlpGaSrqZkxotdBozKWhyfFW74B1DypfSTT8DJOSvL8PDf5Kci6S2vuzIm0y19aDHCvln2Ssx1pQCxxNI+2tJf0DH94R8eKxemnPN/meZPXo2okaUAeqplzHqk2LA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xi6jnBWHV/a3CzufHWQlHz8iPZvYAo31NvK35eWlMKw=; b=mATuAJBr4JBnV5aNTkqdJWYfuK4zhvjUljGMezl2ACUy+pLklf7ypXluavr9GS/K0w1r0zSYQAhseUGyb0IMxzAqTXTObSTVTUn1WlNr4tP/Bf/qbbpA73tlkNuDGiO26q4QjylrPfcI9GWp+OK6wnHE9iNVCUrK1n8K3I/vvMo= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7157.eurprd04.prod.outlook.com (2603:10a6:20b:118::20) by AM6PR04MB4248.eurprd04.prod.outlook.com (2603:10a6:209:4a::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Fri, 24 Jul 2020 06:06:01 +0000 Received: from AM7PR04MB7157.eurprd04.prod.outlook.com ([fe80::539:3d00:4c6:c4a0]) by AM7PR04MB7157.eurprd04.prod.outlook.com ([fe80::539:3d00:4c6:c4a0%3]) with mapi id 15.20.3216.023; Fri, 24 Jul 2020 06:06:01 +0000 From: Peter Chen To: shawnguo@kernel.org, robh+dt@kernel.org Subject: [PATCH v3 1/4] doc: dt-binding: ci-hdrc-usb2: add property for samsung picophy Date: Fri, 24 Jul 2020 14:05:29 +0800 Message-Id: <20200724060532.3878-1-peter.chen@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SG2PR04CA0164.apcprd04.prod.outlook.com (2603:1096:4::26) To AM7PR04MB7157.eurprd04.prod.outlook.com (2603:10a6:20b:118::20) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from b29397-desktop.ap.freescale.net (119.31.174.67) by SG2PR04CA0164.apcprd04.prod.outlook.com (2603:1096:4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.21 via Frontend Transport; Fri, 24 Jul 2020 06:05:56 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 651be118-cc8f-4355-99c6-08d82f97a2f0 X-MS-TrafficTypeDiagnostic: AM6PR04MB4248: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q9BHXehL+BZ610VmK8pxlTt8eR3LYJEpICL6HNSpPFK3r7C19yFvZjuulCAoR/FoaIK0gsGw/t8cVDGhE8Ck+JoD9ot3FQybd/xiEfIaCcj7rR918xOXk0YCZtFXKrjaBwzahAyl22EFAkyYqMBqFk/lIrt//eUywKTo0IdnFLfKl9NvybxUsuSXt5Hqk5cWD61SNXjLmzrikqh0NXq51DlkggCoQcFSmYOh4cfvKpJWKhiHaDBJVRNwJbI8N/5izE+90s+oFfs+CvqMslJRYaFzbBv0wNFdsHSE/v1Uo4GLTVXrJd+Gal1U+66wpbPs X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR04MB7157.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(366004)(396003)(39860400002)(376002)(346002)(8676002)(26005)(6666004)(36756003)(2616005)(316002)(6512007)(6506007)(6486002)(66946007)(956004)(86362001)(4326008)(66476007)(44832011)(186003)(16526019)(8936002)(5660300002)(52116002)(478600001)(2906002)(1076003)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 5D+fqpPlZoQK0YXYIimYgXUfaDEKrjUfDfOMcJMBVDeL1+h2OPZYFlOtk9Vap1MUvYak/zkdLzymrpJvUNRL2bLzlh1i5Lbdhe/Aegb+byOBAFK7Yn66pIXTSbt3FfqmDjbq0vvi1JedwO4B5+s0Sc7TN5Z38kFrg3nhINmY+Vc2oxEjtyhV7NHPH9Zhq7Flww+N8i/VdHMxJQJOWcaBBAB0nxSXHyaYXekDp0tzPsr9xMYjHvWJ/CFsHq/M5KskTNHoyCpwZ7Hi6bh9JRxgxYlmMFXdcQ5JSTdvjEjQo51hEEoQuJiRNYRJLPi7+f38V0rEX77zwaBs/ScL/aFuwZe7dLPa45Mixw0pRd+e5uUMMK2wBefvQ1TAhsUnIQrZC76OhW2c8hxQ+P5j1zS4hnj+0ViBAb+m1LNsGMJPU0BdE8H6EvJpA8Q3iAYhk+ImxQ19RfmiUwclnvGUL57RdlBiT6WoGO9O7ArX4un7eLA= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 651be118-cc8f-4355-99c6-08d82f97a2f0 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7157.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2020 06:06:01.0383 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +MB8/OZnOLGvu3fdMqZhLIt0VjubCIevDi0qxVfn+Q6LHhM5iUAwaz5dv3zC7OR6Nf/dVH6POQLXtVeg3NQH0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4248 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200724_020606_070281_CEA3C4D8 X-CRM114-Status: GOOD ( 11.46 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.8.74 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.8.74 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Peter Chen , linux-usb@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add two parameters which are used to tune USB signal for samsung picophy, which is used at imx7d, imx8mm, and imx8mn. Reviewed-by: Jun Li Signed-off-by: Peter Chen Reviewed-by: Rob Herring --- Changes for v3: - Changing propery name to indicate it is a samsung phy - Add property range and default value. Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt index 51376cbe5f3d..a5c5db6a0b2d 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt @@ -100,6 +100,15 @@ i.mx specific properties It's recommended to specify the over current polarity. - power-active-high: power signal polarity is active high - external-vbus-divider: enables off-chip resistor divider for Vbus +- samsung,picophy-pre-emp-curr-control: HS Transmitter Pre-Emphasis Current + Control. This signal controls the amount of current sourced to the + USB_OTG*_DP and USB_OTG*_DN pins after a J-to-K or K-to-J transition. + The range is from 0x0 to 0x3, the default value is 0x1. + Details can refer to TXPREEMPAMPTUNE0 bits of USBNC_n_PHY_CFG1. +- samsung,picophy-dc-vol-level-adjust: HS DC Voltage Level Adjustment. + Adjust the high-speed transmitter DC level voltage. + The range is from 0x0 to 0xf, the default value is 0x3. + Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. Example: