From patchwork Mon Jun 29 12:52:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 192004 Delivered-To: patch@linaro.org Received: by 2002:a54:3249:0:0:0:0:0 with SMTP id g9csp2835586ecs; Mon, 29 Jun 2020 12:50:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFZi9ylPr1KZUO/VS3wjrkUBj9alIQ/vg+H1Q+k+OB//z4/JM0g0LmwzydL78COXGfm5HY X-Received: by 2002:a05:6402:283:: with SMTP id l3mr19512659edv.105.1593460257920; Mon, 29 Jun 2020 12:50:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593460257; cv=none; d=google.com; s=arc-20160816; b=Gw2Mjn7W1EwW+SecDTaqna7BW1ZCmzaiFbEgKqvE2gtBKEA6Egy0v9IAPpNQ1tFFOP NtulikfzK+Id6hxPIfBsmYW2x8wXV3xfiRZ1zWdjD3rBfMTHhh/hl3oRdQKNlC6oSiXR f5n9By/S9oRAdIFb4wPNz0ivxj+VvAgAMhyoC3y29YsKCTd5czXJcoriZyP3xvRMZohz sJ/Yf2NYyECGJb5TzzN0ZXsVTVSs+zv/5Cb5PsDZMlSoiLW7mcESKwd97I2lrwfUbCjN M9vcNF60W7/367vwTenvy2McdZAhc33IPQh5MBKOEoE9l/1ErE9ISpUh6qCmIOh1nikd qZbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ttFOPNsI8C7Qj6EFkUy2MjTPikihl8NG7soqqS4fgw8=; b=XPEAnAlU7WgudAWSbQuU/AE922h31/jwUo0UcTaSxWeixNJh775yVYwrvILmWB5ZoC j2sa4mgyXJszaEu0Rde0fMRXUq2PYj+gqICXawFmCr8dkRyF//S2pcOxgpX7vmVYQMsv yVaGpa6ybBVxnTHEZpdjrnVjJRXi2tAhs/OfQXHvUtv5/PTTveJm+7ZK2Y/ZHfBhUjBh IgIvbz1KXKuWW5oFCncERsKlF5SmFPnRXYkNz26whHJJKW592TgtWBYde6RTODJ0Ovvi Q6IyPh2XkGNa3QGyiizVt0MnWKfTcrv+3+0/Qz06+QfAb2UAfe47wEAAFgnRTVn9dxEj yb+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pBRjibbJ; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a22si329821edn.364.2020.06.29.12.50.57; Mon, 29 Jun 2020 12:50:57 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pBRjibbJ; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726753AbgF2Tup (ORCPT + 6 others); Mon, 29 Jun 2020 15:50:45 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50840 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387812AbgF2Tuk (ORCPT ); Mon, 29 Jun 2020 15:50:40 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05TCrDMG096114; Mon, 29 Jun 2020 07:53:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593435193; bh=ttFOPNsI8C7Qj6EFkUy2MjTPikihl8NG7soqqS4fgw8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=pBRjibbJLkrIoCy4o33JgQ9f2ePI58oLNmoKiuNMb50EdVyYrM7OtDkG4xHuW3WMx hcYocsAYAUt7SCQj6bVU2oGAEV3GiUyKOqp0sPNtWI3JWUczE4fO4bCtQYmnNtIrTe lWnlhcjZ2nWayTTT9Gnm2wzzcfdaW9kAa27W5/3Y= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05TCrDwk066355; Mon, 29 Jun 2020 07:53:13 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 29 Jun 2020 07:53:13 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 29 Jun 2020 07:53:12 -0500 Received: from lta0400828a.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05TCquh3015456; Mon, 29 Jun 2020 07:53:10 -0500 From: Roger Quadros To: CC: , , , , , , Roger Quadros , Sekhar Nori Subject: [PATCH v4 6/6] arm64: dts: k3-j721e-proc-board: Add wait time for sampling Type-C DIR line Date: Mon, 29 Jun 2020 15:52:54 +0300 Message-ID: <20200629125254.28754-7-rogerq@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629125254.28754-1-rogerq@ti.com> References: <20200629125254.28754-1-rogerq@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Type-C compainon chip on the board needs ~133ms (tCCB_DEFAULT) to debounce the CC lines in order to detect attach and plug orientation and reflect the correct DIR status. [1] On the EVM however we need to wait upto 700ms before sampling the Type-C DIR line else we can get incorrect direction state. [1] http://www.ti.com/lit/ds/symlink/tusb321.pdf Signed-off-by: Roger Quadros Signed-off-by: Sekhar Nori --- arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 1 + 1 file changed, 1 insertion(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts index 3294b96ebba8..6307fe5ccb06 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts @@ -350,6 +350,7 @@ &serdes_wiz3 { typec-dir-gpios = <&main_gpio1 3 GPIO_ACTIVE_HIGH>; + typec-dir-debounce-ms = <700>; /* TUSB321, tCCB_DEFAULT 133 ms */ }; &serdes3 {