Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4135043rwo; Tue, 25 Jul 2023 00:46:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlHAUui0qVnbHg7ukyEHnfc60RLqvGzivZzjt93d6PrJ6TEqAo+EdnblKL99ErHK2k0v/CQZ X-Received: by 2002:a05:6358:5e08:b0:12f:2563:292c with SMTP id q8-20020a0563585e0800b0012f2563292cmr6716978rwn.27.1690271217181; Tue, 25 Jul 2023 00:46:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690271217; cv=none; d=google.com; s=arc-20160816; b=Jytv7MG/gcWAv37SvHtW5SJJXBdIEAwtrLXuRIOs0a34V7TCsRm8uD+7pxW34KQxd/ oRP4StgoNW4XPLYayPwyLwF5pSSPayQlg8nDABblD1MhcN2AwYl3TDPtkkFTszwtinu5 o9PECUKgx+PYk9qXOZwgud76FLXaWDqmql00bmiaMlTvzBfSg8YYkzzCidmH6q9dqsQU vY7Bn56+FfMmEMPwUBSKMyUuewf7PiJJ4w54dPuangU6EcrSdlE/M13e0F5KecYC5QLX 9cdrLFCQpl719DQEt69/1IGcurmHDGXLMFgPBn6Xvi4DFs6IQHlErMI+1MJgJIVlv58e 39yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=j1X08FEORg5/7XVjSsB3hlAA2bvpiF8YL6tAWGLGZPI=; fh=A7G7n/DDtiUdk3+P0x/KRoOvMinqjyChiSaqRwv28lY=; b=GkBlCi9j24FifFeQDATa1PlbK1Zp+a9vZUGR+ejWPHHrXZDuvNV7zCwiG/P9Ajstb+ wFynpvW/ejhDpMiwSlVR52F3njlqWh2EFfNfe4LdLAlWw6h6MilDY+moH6GTuLLrjBEG Gizby8MuRZ/NQCgVHbWjmUuzNLXs+vppffDUM8p9Zg3ICWAyf5XZw3aKoIkbiUMnqsre wv59sazqspodYDvKIjKbYF7sHI8ZXqqEfWPwtQykgAV14Pqarz/8vtOe2GX7iw7vSAQ8 h9Xey0V872LNsb1FojKPM0QdOg6vNVYlN67gKoicrAgZp+3q0fS4tnEHsgLDHr1oP5LA 0AMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XUbElce4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e123-20020a636981000000b005538bf65e5bsi10001565pgc.435.2023.07.25.00.46.43; Tue, 25 Jul 2023 00:46:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XUbElce4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232021AbjGYHo7 (ORCPT + 99 others); Tue, 25 Jul 2023 03:44:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233083AbjGYHna (ORCPT ); Tue, 25 Jul 2023 03:43:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7C03DB; Tue, 25 Jul 2023 00:43:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 85FEA612BF; Tue, 25 Jul 2023 07:43:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6960C433C9; Tue, 25 Jul 2023 07:43:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690270992; bh=C79oRJdKDgbX+Aim3ZSqIUlOwH5qfGIJsUWSdBmA2dw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XUbElce4oGgSg0gzhnR5ZYQCFOf+EUxO/rPAhY5LCtYUUeuz+jvUPZhNQRrQrAK9Y OnSFHRs3nFfIFUBc3gVWKB3SKHMg4gkyNSeKAeYui1MTfUazeEsCGDFGoTtsReBcS2 jOzH+iCfDyvca2ZgEE/7Zhp6RJ1i3P0mq4lyQuiby86YIPQQC+g7FLZJfIwt++ui+v 7pmu7QcXvW46dYudDCMWyaCNlF43DlbHxR5/LUZgIXyIUT66yEfr7WF/GlUtnWPcJD AuP4OSza7nPPBmJBHCvs+7IRWRywx1QEyCtp8PXl6l/dbmdvomqyxLYFZDw/tUPY6n 6ljvRNjpJWKsA== Message-ID: Date: Tue, 25 Jul 2023 10:43:06 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] arm64: dts: ti: k3-am62a7-sk: Enable dual role support for Type-C port Content-Language: en-US To: Ravi Gunasekaran , Krzysztof Kozlowski , nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, "gregkh@linuxfoundation.org" , "heikki.krogerus@linux.intel.com" Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "linux-usb@vger.kernel.org" References: <20230724115133.2226-1-r-gunasekaran@ti.com> <1fed3f09-75e4-bb44-71d7-f7319f1b0c3c@ti.com> From: Roger Quadros In-Reply-To: <1fed3f09-75e4-bb44-71d7-f7319f1b0c3c@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/07/2023 07:19, Ravi Gunasekaran wrote: > > > On 7/24/2023 7:27 PM, Krzysztof Kozlowski wrote: >> On 24/07/2023 13:51, Ravi Gunasekaran wrote: >>> USB0 is interfaced with a Type-C DRP connector and is managed via a >>> USB PD controller. Add support for the Type-C port with dual data >>> and power sink role. >>> >>> Signed-off-by: Ravi Gunasekaran >>> --- >>> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 33 +++++++++++++++++++++++++ >>> 1 file changed, 33 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >>> index d2cca6182738..b478b794de00 100644 >>> --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >>> +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >>> @@ -226,6 +226,24 @@ >>> pinctrl-names = "default"; >>> pinctrl-0 = <&main_i2c0_pins_default>; >>> clock-frequency = <400000>; >>> + >>> + typec_pd0:tps6598x@3f { > > Thanks for reviewing the patch. > >> Missing space after: > > I will fix this in v2. > >> >> Node names should be generic. See also an explanation and list of >> examples (not exhaustive) in DT specification: >> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > > Thanks for pointing to the section. I checked it and also few other node names > in the existing DTs. > TPS6598 is a USB Type C and Power Delivery Controller. So does a node name > "type-c-pd-controller" sound fine? Type-c is irrelevant in node name. The name needs to indicate it has something to do with USB, Power Control and Role control. e.g. usb-power-controller or usb-role-controller ? > >> >> Best regards, >> Krzysztof >> > > Regards, > Ravi -- cheers, -roger