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 AE8F7C83F18 for ; Wed, 30 Aug 2023 18:33:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236243AbjH3Sdu (ORCPT ); Wed, 30 Aug 2023 14:33:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241708AbjH3HFl (ORCPT ); Wed, 30 Aug 2023 03:05:41 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 942F3CC2 for ; Wed, 30 Aug 2023 00:05:36 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-51e28cac164so1183356a12.1 for ; Wed, 30 Aug 2023 00:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693379135; x=1693983935; darn=vger.kernel.org; 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=BvAK6jjE3YzRP6mlz2y2Vxt0E/0zHEbo4pXAcUmbFmY=; b=xR3+tphzOq4LAh31HwDyHeEOvhg6YSPDvVC97ovXTOBm+I7dZ6lTGAxsE44dDn+g3l LpQLgURqvPgZw8VBkh2F+WtCUBVIMC9cV+YJH8qKp54WCrGG0ItiZSyIqx9vTIFwUGXl 0g8Gvxwtyxvje8eYog3qDthpOIlrRdbZjKIfg12W4MPxrfO/wz/1Yaq1BejhE4gDAYUJ qBGAYAFcQA8hMFWucDkddXau/GoREtJAw74ffqacNubcF0xgOaw/657/M/oJgeIHVSJ9 +yoaom1Dlug0k9rIdJ3tGhrJ9wGoQ4ZH2JNeEtD9Ppap9mj0dXzY3hv8+g5EcWVDcdzu ctMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693379135; x=1693983935; 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=BvAK6jjE3YzRP6mlz2y2Vxt0E/0zHEbo4pXAcUmbFmY=; b=i+5V1P/bVj1IrTVrXPvEvopm7myDLWEu7sjYM238wWTNk5isc6zh5TZVmr+79LBxHK fHC8CO6dxXXVTu5m+Fk4QKwG1Ev++R6NbK2GJa+8b9sDbW06q+qmHKYeAWDQm4gwRdC7 V25RhCTvwosjn9uTMEfmYqHtQ+CxPTF7ikQBaLnd4zEQIp4+CzSe4FAJIX/yZeiqAheN JabP3A1T0CkvzcUyvv7BMraOxipLnWa/k9fWCXR+VhN4onnlUkdFoQ2PBmzfiSZACp/f CVbn/v6wZgNnlvpJB6qK/AavivlJpU2FIFPPRGoyHqG9m72gjKFpYqsM4txJYZp7Riq7 7pzw== X-Gm-Message-State: AOJu0Yz83+Qw90oY2OK2kSue7ph0TpuIs8DtNmGZRzq9I8fNh5cnSbtY tuAHAUijrgtbAMQB8ik5HNKk7FYxTLwwtWcCk3o= X-Google-Smtp-Source: AGHT+IGs9RuawEvgzuln7v19oDV9TpEAvyCRWM8dqn7lFgSkk+mtqzbjb3PtujKk1zwiA5AOyeD2tQ== X-Received: by 2002:a17:906:518a:b0:9a2:295a:9bbc with SMTP id y10-20020a170906518a00b009a2295a9bbcmr1415763ejk.37.1693379135039; Wed, 30 Aug 2023 00:05:35 -0700 (PDT) Received: from [192.168.0.22] (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id s21-20020a170906355500b0098d2d219649sm6936092eja.174.2023.08.30.00.05.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Aug 2023 00:05:34 -0700 (PDT) Message-ID: <6f70a710-c409-23c0-890b-370ccd23e088@linaro.org> Date: Wed, 30 Aug 2023 09:05:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v4 2/3] dt-bindings: usb: snps,dwc3: Add runtime-suspend-on-usb-suspend property Content-Language: en-US To: Elson Serrao , Thinh Nguyen Cc: Roger Quadros , "gregkh@linuxfoundation.org" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" References: <20230814185043.9252-3-quic_eserrao@quicinc.com> <6b27cd55-4e44-7a26-30ff-9692344cae4c@quicinc.com> <31fa930a-51fb-6a7f-300d-e71f6b399eb1@linaro.org> <5dfae814-7233-eb1f-cae7-f335e54ce1b6@linaro.org> <20230826015257.mbogiefsbz5474ft@synopsys.com> <969988f6-f01f-0e31-6a98-7d02c5a3a4ad@quicinc.com> <20230830013739.srnh2uyhly66yvu2@synopsys.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 30/08/2023 06:31, Elson Serrao wrote: > > > On 8/29/2023 6:37 PM, Thinh Nguyen wrote: >> Just want to clarify, there are dwc3 properties and there are dt binding >> properties. Often the case that dt binding matches 1-to-1 with dwc3 >> driver property. Now, we need to enhance the checkers so that the dwc3 >> driver property to match cases where it is platform specific and through >> compatible string. >> > > Thank you for the clarification Thinh. > To confirm, we would need to modify the driver to parse a new compatible > string (say "snps,dwc3-ext-wakeup") and add .data field so that the > driver is aware that this particular platform supports external wakeup > detection.Right ? No, it's not then platform specific. You said it depends on each platform. Platform is Qualcomm SM8450 for example. Best regards, Krzysztof