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 EFB37C433EF for ; Thu, 26 May 2022 22:03:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349780AbiEZWDz (ORCPT ); Thu, 26 May 2022 18:03:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349318AbiEZWDy (ORCPT ); Thu, 26 May 2022 18:03:54 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8323662A13 for ; Thu, 26 May 2022 15:03:53 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id l13so4194109lfp.11 for ; Thu, 26 May 2022 15:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=qJs/grwr2pvDEsLIUfHDR0aBRbSDu/q3H641iXHa5hA=; b=tlN1v8qBCAVlEin1MRqNmJ5XwrkS6y01KGkIJhirqgfMWxZzHeZ2OzJwZB97THKsN4 XuLeQXtDZJHI/ngBaBWkuwYbgf8cMHfxqZpnGkkXm34SolSdCwGbw5HbZbh4vP3Mf392 ytkW3ieorODoG0tNQjAwV7ojlJru1cOaF2/8sDtQQEdk5i9AfggsENU8oyLq0wM31HK6 FoIgImuOOm4I6x3GgsPLvjIrjvzuQvoqMLW/obqW8j3u54PJX08Ezo7yZFdn5lQHcerB Oes7z8l4xy86Yj8ga+j3oL+KOfReaGjhLrIWoebJgjTore2Mck9Ee4b7DZHFuOmLRoeB ILzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=qJs/grwr2pvDEsLIUfHDR0aBRbSDu/q3H641iXHa5hA=; b=VS2YW8ME51lmqBp9tGxdqoK7C7n+57tV/EHr5JRc1fz6f8SfJ2pXvGpd7KxH9ArnoW jK27W299U5CJr7SNYWhRCqwFAqqPO5TveF6XsXloayR03nstuITjmf9GQ6ZypdXjAtay VbLz28kECc4Y/KBp3rj8jsDndkjSnjVaaZXFxhltHvKOnD7CfExEXqq5WgM5at80r0+J flS4I+Qj4UKXkWJhXGkpHDBlVCXfhR94n+KZ7JDUA0vzHIDNK4qPwJwBcd/MG8gLfA8G 0cyZPTxnkEcNSmMx/MbkF7ruHhimuTMAbDGYKywkWk8QJU8o/bf8tWfNOXjwe2EVi9pz kAkQ== X-Gm-Message-State: AOAM530DClLcJZmJnUfuTTSlxr4IE2QUEpTPjfDJbJFDNst6//i/u/AK gs99g2wWDcj1TH1ylMOQCz2+XQ== X-Google-Smtp-Source: ABdhPJy56yCKhdD3asKqWkOmtI0zEJvEAhWrPSGzs3OERYaX6QCLk71VovWV5iXtoQkRUPw125yWpg== X-Received: by 2002:a05:6512:3189:b0:478:5d83:5eda with SMTP id i9-20020a056512318900b004785d835edamr20847151lfe.519.1653602631826; Thu, 26 May 2022 15:03:51 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id x23-20020ac25dd7000000b00478628920e1sm553702lfq.103.2022.05.26.15.03.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 15:03:51 -0700 (PDT) Message-ID: Date: Fri, 27 May 2022 01:03:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v1 4/4] arm64: dts: Add msm8939 Sony Xperia M4 Aqua Content-Language: en-GB To: Bryan O'Donoghue , Stephan Gerhold Cc: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzk+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, shawn.guo@linaro.org, jun.nie@linaro.org, benl@squareup.com, jwillcox@squareup.com, jgates@squareup.com, mchen@squareup.com, zac@squareup.com References: <20220419010903.3109514-1-bryan.odonoghue@linaro.org> <20220419010903.3109514-5-bryan.odonoghue@linaro.org> <552547c1-36c3-8d7e-0fd5-1b22fd184b4b@linaro.org> From: Dmitry Baryshkov In-Reply-To: <552547c1-36c3-8d7e-0fd5-1b22fd184b4b@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 20/04/2022 01:03, Bryan O'Donoghue wrote: > On 19/04/2022 20:27, Stephan Gerhold wrote: >> tulip seems to have qcom,usbid-gpio = <&msm_gpio 110 0>; downstream. >> Have you tried setting it up using linux,extcon-usb-gpio? >> See e.g. msm8916-longcheer-l8910, it has a similar setup (it also uses >> smb1360 for charging actually). >> >> The advantage is that you don't need the manual role switching using >> "usb-role-switch", USB OTG adapters should be detected automatically. > > My understanding is "no new extcon" - certainly as driver > implementations I assume that also extends to dts.. I think, if the driver supports only extcon interface, you have to use it (leaving aside a good nice option of rewriting qcom,ci-hdrc/ulpi to also support USB role switching mechanisms). -- With best wishes Dmitry