Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2013168ybh; Fri, 17 Jul 2020 07:15:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVI9M5nj1qYxcazCXhhciyfO2CHDGOzt35h6c9GXDuBc1faZubp3D+ruoEluntCsiS4htQ X-Received: by 2002:a17:906:fcba:: with SMTP id qw26mr8607326ejb.112.1594995358698; Fri, 17 Jul 2020 07:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594995358; cv=none; d=google.com; s=arc-20160816; b=BA79gNY6xNcwvbt8/l+O3tBKjpfDRUERLjxUc0aSOOaxOwje5UQe8UOjeid95SuTSr hnzcOSnYd4iKiG0jB44aLxf2PRsTkYnELp+ZtytWjNtj6TMYDSwX9YTkIP7NmM2Vh9fK A7TlC1ytc80UZFY4ArdBfFEejYp3hrHL4sGPKmGWwFe3b+07IeJtOSjZnakKUxgnktbw 7khPQk3KN7izbgT/oPeDTE+3YCCynoD5zNFIsvXzhyk2GrU76OiBq4s50lMGAkt4B62J aQ7okMmpX4MRFyJWpWSy/u3X420XDlNdu+5e6lTt3rDz4AAXh5XTqKyL7WLRhq76LSzN /W0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=scjhaPmYBYlkHTCMPkS4HuQeVN/II4OmnYBJOma1450=; b=GZicyjHQAvEykolIaffJuCFvf1BLBzTV1Id49LImnNPxOJRZ8lc3sdu8UyRJZb7hQk klzUMxJ9oigRm7IYzSnXBB//RmOj8h9E9dt/7L8AlD76CucyywqL1sZG2ocAUWRp8oGA TnSdOA/+tyGL3/dGmmvY06crtmYIlYdGQKKoXYtU1wcN4no9dwC2JqutJg99CNkQiyxD PDMxl283//4SmHlkVISh3OYGmW8iXEjhVi5HGDCdhJI8qVDQzA6bvQ2sDssCX+ADn/fI jgQUIg2tghmWkSk8l7zmxYU/WB0biDL6DVnKvwnLgCGkKpUHPjg53Lw4HHKlnvr1aZ0s HLCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=A1k3rR5V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si5693356edl.330.2020.07.17.07.15.35; Fri, 17 Jul 2020 07:15:58 -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=@kernel.org header.s=default header.b=A1k3rR5V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726776AbgGQOPL (ORCPT + 99 others); Fri, 17 Jul 2020 10:15:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:59750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726401AbgGQOPL (ORCPT ); Fri, 17 Jul 2020 10:15:11 -0400 Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D462820717; Fri, 17 Jul 2020 14:15:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594995310; bh=scjhaPmYBYlkHTCMPkS4HuQeVN/II4OmnYBJOma1450=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=A1k3rR5Vle/vTBP94Fxt2qQ3nj99Cg7bMK7U561DSmGEYVAQKGdK4JjFB5+p/dIqL Fu1ezV1st0OIgRrz3n5ysTa1PiCXYaTJEfAOd4mFNC4vWIVCu+GVJRzqmZEA6RoUkc bfe6lgfxz3IP33q9GVN5aUTZW8qEUt1VyFpSNzh8= Received: by mail-oi1-f175.google.com with SMTP id t4so8094603oij.9; Fri, 17 Jul 2020 07:15:10 -0700 (PDT) X-Gm-Message-State: AOAM532YoqbptQ41G5+7uIOzxlcNh7LrUoUzwC6UpjAqMLEq7euPOGca THEu9ZOWR9C7fY9YPIn0Vz98Ol7cvt5GwW7/GA== X-Received: by 2002:aca:4844:: with SMTP id v65mr7988751oia.152.1594995310214; Fri, 17 Jul 2020 07:15:10 -0700 (PDT) MIME-Version: 1.0 References: <20200714151822.250783-1-philippe.schenker@toradex.com> <20200716192452.GA2699629@bogus> <20200717023108.GA17070@b29397-desktop> In-Reply-To: <20200717023108.GA17070@b29397-desktop> From: Rob Herring Date: Fri, 17 Jul 2020 08:14:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: usb: ci-hdrc-usb2: add property disable-runtime-pm To: Peter Chen Cc: Philippe Schenker , "devicetree@vger.kernel.org" , "linux-usb@vger.kernel.org" , Shawn Guo , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 8:31 PM Peter Chen wrote: > > On 20-07-16 13:24:52, Rob Herring wrote: > > On Tue, Jul 14, 2020 at 05:18:20PM +0200, Philippe Schenker wrote: > > > Chipidea depends on some hardware signals to be there in order > > > for runtime-pm to work well. Add the possibility to disable runtime > > > power management that is necessary for certain boards. > > > > This is why we have SoC specific compatible strings. Use that. > > It is a board design limitation, not SoC's. To support USB low power > mode for device mode, either VBUS connects to SoC, or VBUS connect to > GPIO, or VBUS connect to Type-C IC, but none of the design is used > at that board. So the USB can't enter low power mode for that board, > otherwise, the USB controller can't be woken up since no any interrupts > will occur if USB cable (host at other side) connects to the connector. That's certainly a better explanation than the original. Don't you need to describe the Vbus connection in the above cases? Then you could handle this case based on the lack of a Vbus description? Rob