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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B69EC77B7A for ; Tue, 13 Jun 2023 09:26:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242020AbjFMJZc (ORCPT ); Tue, 13 Jun 2023 05:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240830AbjFMJYv (ORCPT ); Tue, 13 Jun 2023 05:24:51 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4C67E47 for ; Tue, 13 Jun 2023 02:24:45 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3f736e0c9b1so55119355e9.3 for ; Tue, 13 Jun 2023 02:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686648284; x=1689240284; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=pXZ4aijj1pbGg+3aoennLfPzwPG0hMvQp5jgoTVxVm8=; b=GZA9yI5bwW4oCmT4IZAkYKgpuay7dbOmcoOpQ7W/6x4Y5hg97080ZzsiYso50gGdds RZVnCyTiL62fr18WkB3y2+DYnLJuuKvblwA0wczGmYyboB3AHOHYXB5FnB+MSxKhbT13 iuvvq0cYySFYrLTDn5jnNSMntKeNNRkW9tJV3f+xQrPDBUfbCm1K19QHSlDUTHdEYZrJ Ncqdt5nwZZlQZFOZb3IvmM2ArE+r3GSK2RrjnUddUO+mNeCMeJkA5mNmzUaOxolhXkx3 wb1WlbZIuzusH9H6oZEwwRyQFdYOp1lp9jpv1h9RGzXXLrII5l6qLCZx0dbFul+vx9Va /zuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686648284; x=1689240284; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pXZ4aijj1pbGg+3aoennLfPzwPG0hMvQp5jgoTVxVm8=; b=ju05J1MBFJkbHWGx7Qod1zsc7C0qoLqdWh1Zry436w35qT+hbtwobzVmbC0vzq2Zka QARVfH1CswN676sd24wXHRmGwTctRmkxxOa5dECjFVRoEw1FvR3aTNdyLUlGi2AsvCzv +8N2k7L4PNSizFAlNzB0W40EgUjeAgxTGtMtjxYGrBfd3yuU7fcR4/4LJK4/lZPKq1Kf 78Y0ltLCsPakULRCOpCvJKH2JsC8BH1ZAlnJLisOov9ny6EyqPZvklSrs6V6S8o9vEg2 UCRUbb1EAMpzA2hPZvunscorkgf6qldC1capLHnfoUGFbJZqCILEF2M5OyKC/3Ojdaqm SjJg== X-Gm-Message-State: AC+VfDz/BjGLPx/3GdcMB04H792E6wgFy1vj4Z12U1Jav/knHHgBmw9v zU/OLYJVcwtaUnHqRrhTC+y8wQ== X-Google-Smtp-Source: ACHHUZ7PO/tsm9IXmJ7pb3uNDlot07rQqXgOCkR7DPpvfhLhNFDPFPOxgXcEUTv86r3jFpDeqkvMPg== X-Received: by 2002:a5d:614b:0:b0:30d:f75c:4a68 with SMTP id y11-20020a5d614b000000b0030df75c4a68mr6243782wrt.34.1686648284132; Tue, 13 Jun 2023 02:24:44 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:48b:b939:c60e:e1ba? ([2a01:e0a:982:cbb0:48b:b939:c60e:e1ba]) by smtp.gmail.com with ESMTPSA id t18-20020adfeb92000000b003093a412310sm14770863wrn.92.2023.06.13.02.24.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jun 2023 02:24:43 -0700 (PDT) Message-ID: Date: Tue, 13 Jun 2023 11:24:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v3 1/8] dt-bindings: connector: usb-connector: add a gpio used to determine the Type-C port plug orientation Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Heikki Krogerus , Greg Kroah-Hartman Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org References: <20230601-topic-sm8550-upstream-type-c-v3-0-22c9973012b6@linaro.org> <20230601-topic-sm8550-upstream-type-c-v3-1-22c9973012b6@linaro.org> <9abec6ec-1995-8e20-8926-f57969341932@linaro.org> Organization: Linaro Developer Services In-Reply-To: <9abec6ec-1995-8e20-8926-f57969341932@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/2023 11:02, Krzysztof Kozlowski wrote: > On 13/06/2023 10:54, Neil Armstrong wrote: >> On 13/06/2023 10:13, Krzysztof Kozlowski wrote: >>> On 13/06/2023 09:55, Neil Armstrong wrote: >>>> On some platforms, the Type-C plug orientation is given on a GPIO line. >>>> >>>> Document this optional Type-C connector property, and take the >>>> assumption an active level represents an inverted/flipped orientation. >>>> >>>> Acked-by: Krzysztof Kozlowski >>> >>> Rob had here objections as these are bindings for the connector, not >>> PMIC glink/altmode. I still doubt that Qualcomm USB Type-C connectors >>> have such pin exposed. If you open the schematics, the GPIO is actually >>> coming out from PMIC and is nowhere around the connector. Please drop my >>> Ack. >>> >>> This however could be a pin of the PMIC because it clearly is on the >>> schematics. >> >> Yes it comes from the PMIC, but this part of the PMIC is handled by >> the PMIC_GLINK firmware service, so the logical place would be into >> the pmic_glink node with a gpio array in order to handle multi-ports. > > I think all PMICs have only one CC_OUT pin, so this would be now > maxItems: 1, but there will be no problem in growing this later. Yep, I'll only allow for sm8550-pmic-glink and set maxItems: 1 for now since it's the first occurence. Neil > > Best regards, > Krzysztof >