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 12EC2C7EE29 for ; Tue, 13 Jun 2023 11:52:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242377AbjFMLwR (ORCPT ); Tue, 13 Jun 2023 07:52:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242349AbjFMLv4 (ORCPT ); Tue, 13 Jun 2023 07:51:56 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE9C1BE9 for ; Tue, 13 Jun 2023 04:51:30 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-51492ae66a4so7690288a12.1 for ; Tue, 13 Jun 2023 04:51:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686657089; x=1689249089; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RvgRqV++n772I/d7wLPA5rsuuZeDf6O7UA25bKaKXNk=; b=MQ9381wrJR+klO2Uqe2UjAdSKpKAfdwBmxOJPfriSeB/8NzH64V2iyO2V5arQs4Bwv 4Ug3nM1vYZ6pjfEp2vyw9zYI3OW1c04YXEagaUD11CwXiEq+etoqYKxsXeXuVp1CgwR2 VToJzvHhCB74bgz7LqTGJ51mhxyuAHOJh6HBXVhg75gZ79oQHXtbwrhI+AfJPkCrQCNy T/+7H2B2xWDZYiOuaUYsh1ysGW4Z7hWAYjzscZKmhXOMivd/WO5USSIS7PYjrGdiPWuR 45w/9JWzokYGMj8dnRNGoHod31e2wM6u3vfXyM3gikSE0qoBPg2u6di+ztN12XqHPp82 v7PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686657089; x=1689249089; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RvgRqV++n772I/d7wLPA5rsuuZeDf6O7UA25bKaKXNk=; b=MP6WoYYyvcekEmENdcAQA58lxvvAvDYSgkknRghJG1DCg98njny+5sQ2s0iHvh1xvY YQ06GOfc5U0QHZY/HmnAPwCwGWWKO0oRk0gX9nxndE+Pb1Pbu2L4+us5dm08Bou+7VUO mL7n5UZa1WzxJaTssJ16LEJiSQ6cJd4jcvpqiJQWZmmaORWYjAbvuda+c8d8rkloT6Dn W0BX/3JUfmZPAaJWFQcAMOVS4yj4WrQ8tK6gJ2rdGUd7c9kJhHSf6hzhrOqkGF5WiTUx PTnKnoJys6qof67AgQqCtiPqKcTyhNDtfVywtX7gpR6W4QtKOPFz32du1nua1bZpPyrm a6Cw== X-Gm-Message-State: AC+VfDxSGqUWXp8j/W4iuawKcpY3+71JXj7MBJcad39R1wU5NQXlprHq fS5Pb/UWVSBbX7gJ5WzmvkMARw== X-Google-Smtp-Source: ACHHUZ4iOHIXzVqnZ/JnP6iQdCy7t4gbxOUo5FN94mdl1eyboMAP5cirp8q3BcpMjH9VepEaPnGLfg== X-Received: by 2002:a17:907:a40f:b0:978:ae78:a77f with SMTP id sg15-20020a170907a40f00b00978ae78a77fmr11136368ejc.21.1686657088911; Tue, 13 Jun 2023 04:51:28 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id i8-20020a17090671c800b009659fa6eeddsm6528453ejk.196.2023.06.13.04.51.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jun 2023 04:51:28 -0700 (PDT) Message-ID: <768c66e4-748a-b63d-7aef-fbbeb61044de@linaro.org> Date: Tue, 13 Jun 2023 13:51:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 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: neil.armstrong@linaro.org, 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> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 13/06/2023 11:24, neil.armstrong@linaro.org wrote: > 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. You can add to pm8350 as well - it's already used in HDK8450. Best regards, Krzysztof