Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4582380pxb; Tue, 5 Oct 2021 06:14:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrDqz88nQfgbfBDDqcs17aFpvV4kHDQ55+trgGRQoQl//azgqILKTulWPTqH9loGG/UAuf X-Received: by 2002:a05:6000:168d:: with SMTP id y13mr21110582wrd.45.1633439690443; Tue, 05 Oct 2021 06:14:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633439690; cv=none; d=google.com; s=arc-20160816; b=TpnucKaH70NrCDnXp8UBE6Ek9XMu+gHgZxBK5K/ZV7pgRfIBrVFI7JkUnfRRG/aB1F mRec5lrYYDQsM7PPxh4mAUJVARps24dqF9zMALgWV9801R2TcXFCO/9zpfbsZUbh9vby d3cKs2MAEvzF7/EYFOjPUXnbQLZW/DSm0gE/hQIX6e5bAxaMwC23/yxcWBCUYZMn6B2/ XM6/tuyOCz1pkw2czoNi1Uz5kEiBAnv4b6pLDJxcCzvTI2a8cBnn/cVw6qnDq/ZLPV7g W5UB50hhFWXm03ZurleIWOdkoLrj/qbPCCvgqKQk3bMuQlSOdl0vZ9z/Z6SQqNvUgefD 5Dfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=U6BZdp7Nj1iB2Co/1jqzWb6n7mqm30f5x3oIRYnDtpI=; b=RUA1w3JaruFcfG8x9vNkqUJuPWo7aT3LqbiArK+yWlnMCJdjEMbJySdmDMj05Haait E/ZuzjkjZ8B+TLLAjNMTZQ+F+poB4eIQ4L4Yr+tyBoIWXiCgsys+ulUM9e73xDoQNALK A6+rLKE6Xf4HjkHH9FDvDVYjXtyAEe9v+q80MpFjuEvpvZTShziPR5dpU4H6VEQDwt2g LAlWrOWFpTXwxJTiO9P44UfwnBVwFMblZY9MJQJk2IWH3VF4IK1DGa2y9iE7ub3ojWxR O/exQzGQOp5zHS+QgfA5yU/ijNhpRL2MPRTy85kULehjnM9fbrRxORPbxcdbqws7XPPq 9ZPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=cYMr3wIV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si20968224ejy.588.2021.10.05.06.14.25; Tue, 05 Oct 2021 06:14:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@mg.codeaurora.org header.s=smtp header.b=cYMr3wIV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234948AbhJENNp (ORCPT + 99 others); Tue, 5 Oct 2021 09:13:45 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:59601 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234720AbhJENNo (ORCPT ); Tue, 5 Oct 2021 09:13:44 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1633439514; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=U6BZdp7Nj1iB2Co/1jqzWb6n7mqm30f5x3oIRYnDtpI=; b=cYMr3wIVC8cCqbQy2m8TvqhhSYen8J3h9V7AkqkciogtmA8bWG7IWalpN/YA5AQP3heikLCp cUqWGbpoXdZwk4JD1mS2MJ5I75GFgqq5ANMBkH3nc3xe804nP3nZ3adqUaXVRl5lApPqg2/h 0ejPfYLtmNFUUPfoSDjuW32sHhE= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-east-1.postgun.com with SMTP id 615c4f1563b1f186582a7408 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 05 Oct 2021 13:11:49 GMT Sender: schowdhu=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C2883C43616; Tue, 5 Oct 2021 13:11:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: schowdhu) by smtp.codeaurora.org (Postfix) with ESMTPSA id 03C64C4338F; Tue, 5 Oct 2021 13:11:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 05 Oct 2021 18:41:47 +0530 From: schowdhu@codeaurora.org To: Rob Herring Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Bryan O'Donoghue , Bjorn Andersson , Greg KH , linux-kernel@vger.kernel.org, ckadabi@codeaurora.org, tsoni@codeaurora.org, bryanh@codeaurora.org, psodagud@codeaurora.org, satyap@codeaurora.org, pheragu@codeaurora.org, Rajendra Nayak , Sibi Sankar , Sai Prakash Ranjan Subject: Re: [PATCH V0 1/7] dt-bindings: connector: Add property for eud type c connector In-Reply-To: References: <246c9d24da27b6ce91d5f1e536fa96ac5656a0b2.1633343547.git.schowdhu@codeaurora.org> Message-ID: X-Sender: schowdhu@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-10-04 22:07, Rob Herring wrote: > On Mon, Oct 04, 2021 at 04:46:19PM +0530, Souradeep Chowdhury wrote: >> Added the property for EUD(Embedded USB Debug) connector.Added >> the "reg" and "interrupts" property which is needed for EUD. > > You are going to need a better explanation of this h/w. Ack. Will update this with the detailed hardware description in the next version. > >> >> Signed-off-by: Souradeep Chowdhury >> --- >> .../devicetree/bindings/connector/usb-connector.yaml | 15 >> +++++++++++++++ >> 1 file changed, 15 insertions(+) >> >> diff --git >> a/Documentation/devicetree/bindings/connector/usb-connector.yaml >> b/Documentation/devicetree/bindings/connector/usb-connector.yaml >> index 7eb8659..908129f 100644 >> --- a/Documentation/devicetree/bindings/connector/usb-connector.yaml >> +++ b/Documentation/devicetree/bindings/connector/usb-connector.yaml >> @@ -30,6 +30,21 @@ properties: >> - const: samsung,usb-connector-11pin >> - const: usb-b-connector >> >> + - items: >> + - enum: >> + - qcom,sc7280-usb-connector-eud >> + - const: qcom,usb-connector-eud >> + - const: usb-c-connector >> + >> + reg: >> + items: >> + - description: EUD Base Register Region >> + - description: EUD Mode Manager Region > > A connector node represents the physical connector on a board. That > can't really be an MMIO peripheral. Maybe you need a node for EUD and > then it should have a connector child node? Don't really know without > understanding this h/w. As per the previous discussion on the EUD, it was agreed upon to map EUD as a type C connector and use Role-Switch to change the USB role instead of extcon interface that was being used previously. The link for the same is as follows:- https://lore.kernel.org/lkml/5db1a666-62ec-c850-6626-ad33d337b452@codeaurora.org/ > >> + >> + interrupts: >> + description: >> + EUD interrupt >> + >> label: >> description: Symbolic name for the connector. >> >> -- >> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a >> member >> of Code Aurora Forum, hosted by The Linux Foundation >> >>