From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70149C433F5 for ; Tue, 11 Oct 2022 08:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UraEbll+gbTNhiBISRN39iatPbh/m4yQCq0MP9ta5C8=; b=4Z7a3flJSp1seH oX13BJS6lNWSQUue8RzQrTMrsoOrWGbZ02bd/QvRO5zMFVu3mVVUogt7gL/7FJf6qIdI00ZOKGMf7 3eSHM/i5hCk/Rtc3/sAQVKca//mJuVOPh/oal4079z40C82NdW3IR8etv3wc2V0Dhcw8Y/3rf7AwC bVof813aPjWqkigXYO6GssoHE01XV4Y+dOEMWBJHgRb6O7oiw5x9d61H8C3P1O8YT3YHyY6693vIj D7/dsNrh0VyNvK2y7UbZ0gQswls+G7ua0TgNYVF9+JM4qxqAzv9Kpcpp9J2GfS7N7K/Umsbg2go+2 nNIUSHMnPxPkdxWeY7SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiAeR-003hmk-8h; Tue, 11 Oct 2022 08:30:11 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiAds-003hga-0h for linux-arm-kernel@lists.infradead.org; Tue, 11 Oct 2022 08:29:39 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oiAdl-0005Sp-77; Tue, 11 Oct 2022 10:29:29 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oiAdj-000r70-6j; Tue, 11 Oct 2022 10:29:27 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oiAdi-003iNs-FI; Tue, 11 Oct 2022 10:29:26 +0200 From: Sascha Hauer To: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Peter Chen , Peng Fan , Pengutronix Kernel Team , devicetree@vger.kernel.org, Sascha Hauer Subject: [PATCH 6/6] dt-bindings: usb: ci-hdrc-usb2: Add more phy tuning properties Date: Tue, 11 Oct 2022 10:29:24 +0200 Message-Id: <20221011082924.884123-7-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221011082924.884123-1-s.hauer@pengutronix.de> References: <20221011082924.884123-1-s.hauer@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221011_012936_156272_CB822D75 X-CRM114-Status: GOOD ( 14.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Following the example of samsung,picophy-dc-vol-level-adjust more phy tuning properties are added for configuring the remaining bitfields in the USBNC_n_PHY_CFG1 register. Signed-off-by: Sascha Hauer --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 11d08ffeb1e9c..c467924235759 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -255,15 +255,94 @@ allOf: minimum: 0x0 maximum: 0x3 + samsung,picophy-usb-source-impedance-adjust: + description: | + USB Source Impedance Adjustment. In some applications, there can be + significant series resistance on the USB DP/DN path between the + USB_OTG*_DP/USB_OTG*_DN pins tns and the USB cable. This bus adjusts + the driver source impedance to compensate for that added resistance. + The default value is 0x1. For more details refer to TXRESTUNE0 bits of + USBNC_n_PHY_CFG1. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x3 + + samsung,picophy-hs-rise-time-adjust: + description: | + This bus adjust the rise/fall times of the high-speed transmitter + waveform. The default value is 0x1. For more details refer to + TXRISETUNE0 bits of USBNC_n_PHY_CFG1. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x3 + samsung,picophy-dc-vol-level-adjust: description: | 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. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0xf + + samsung,picophy-fs-ls-source-impedance-adjust: + description: | + FS/LS Source Impedance Adjustment. This bus adjusts the low- and + full-speed single-ended source impedance while driving high. The + adjustment values listed are based on nominal process, voltage, and + temperature conditions. The default value is 0x3. For more details + refer to TXFSLSTUNE0 bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0x0 maximum: 0xf + samsung,picophy-transmitter-hs-crossover-adjust: + description: | + Transmitter High-Speed Crossover Adjustment. This bus adjusts the + voltage at which the USB_OTG*_DP and USB_OTG*_DN signals cross + while transmitting in HS mode. The default value is 0x3. For more + details refer to TXHSXVTUNE0 bits of USBNC_n_PHY_CFG1. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x3 + + samsung,picophy-vbus-valid-threshold-adjust: + description: | + VBUS Valid Threshold Adjustment. This bus adjust the voltage level + for the VBUS VALID threshold. The default value is 0x4. For more + details refer to OTGTUNE0 bits of USBNC_n_PHY_CFG1. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + + samsung,picophy-squelsh-threshold-adjust: + description: | + Squelch Threshold Adjustment. This bus adjusts the voltage level for + the receiver threshold used to detect valid high-speed data. The + default value is 0x3. For more details refer to SQRXTUNE0 bits of + USBNC_n_PHY_CFG1. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + + samsung,picophy-disconnect-threshold-adjust: + description: | + Disconnect Threshold Adjustment. This bus adjusts the voltage level for + the receiver threshold used to detect a disconnect event at the host. + The default value is 0x4. For more details refer to COMPDISTUNE0 bits of + USBNC_n_PHY_CFG1. + + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + additionalProperties: true examples: -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel