Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp800561ybg; Wed, 10 Jun 2020 14:11:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZ5K0PAwz9nLA7hvV8cvX2JSe87qHa6p8ziyOSmiTOWr08ih25eZQJF0uvR1Pney9n94qQ X-Received: by 2002:a50:c054:: with SMTP id u20mr4261989edd.142.1591823519363; Wed, 10 Jun 2020 14:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591823519; cv=none; d=google.com; s=arc-20160816; b=CcZWmdkmv/KEVk4SWtgIYFDu0VYkx5uGk0enjAMAw5JjHbuxqN4BHrkDiX0geoN3U3 HMBcFN0lUb+oPUiJSAJm8hrA0iGx/EKH2uTGEOLgkPyKjFpS8Ef1a4b4x2407va3YuZq q7e4dJFti0heKM8SshoFJ9sP468DV+jRRWIlyWPH04J4YHqbF2uO1/KPkmUgUXFTBNi9 T833MM/rVyNI8vx+z9v+lhi+ov91yazkxN71jiQ+tCJ1wSAMgk4gT5piHo99tQatbIiM ARN9Do4pfqQ6ANM1KspTfFR0O0aHTPhZRDrZ9lpl2ol5uT3H7z4mbru9l0lQjTLTjg4d 7WRQ== 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=oAuiLS5G9yRr9AdnpqJ+b7J1vIYfSf3q36M8NOV942c=; b=fjSYOiAtHugQvkBlKXbalnZ48kTk/DrA6d5HP3vrvnk6N2L0GVxlve7G+Wg1ZF1Pnn lQGHIn5nH8zjAvTJck4YIcnR8ME0kX9xKUv1VDb0s1Zq+yFaFHWBS8D4kdVfMAHX88ed 4csqTP9pRyyMGGUtADKHirKLy2vHbK1qPb/7nYj9Gd9TFx7PCh/9golbxHos0Llb7X17 /tmPhrCypus4tbfnp5hD+H+sUDEaa2egJJyUedG5DVMSbz6/NxSe8+I2UWHbLr1jOnYG IF8V9mrldj/MDrMXEr+kdMMaikvrrwmZCf051XsxkWMAwPnQIpTOK58hzwYiV5AWr4bZ ZYOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZoFELyV3; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oj22si755393ejb.115.2020.06.10.14.11.36; Wed, 10 Jun 2020 14:11:59 -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=@chromium.org header.s=google header.b=ZoFELyV3; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729061AbgFJS6J (ORCPT + 99 others); Wed, 10 Jun 2020 14:58:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbgFJS6J (ORCPT ); Wed, 10 Jun 2020 14:58:09 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51C2EC03E96F for ; Wed, 10 Jun 2020 11:58:09 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id t132so1926600vst.2 for ; Wed, 10 Jun 2020 11:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oAuiLS5G9yRr9AdnpqJ+b7J1vIYfSf3q36M8NOV942c=; b=ZoFELyV3tBihmyebsCsoJk3lsYw7dHxokZr208+Oi3cjS0rKE47GyTKi/8fqkKgIhj 5s0cu1ckOGvd4aV4SjB5D5/nJDeMoIjxvt2U2Ccw/Kfve0CtzajVy/w53lYfU6Xu6k7N S8PCnMI8f5/e0ChFtq938rNtp430lbPGfI6Ng= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oAuiLS5G9yRr9AdnpqJ+b7J1vIYfSf3q36M8NOV942c=; b=Nyy5y4dpf3c5clEuNTWVGQsnwq4lvHPGJtlfv7bsqHQBkUNtkp63MN8zzuMywJPrH4 aI0DYJTLQhyUKqozdji3qb/ZipRcho844SZlQQ+WDL6UH15MljjP1qQM2kZ+WGal4T1A CzlerfkVjL/AVr09uRbfnzSTGV5HEXCS5xeZsCRXrgL1rCr6WnbQvkjNuhwEUPsih41J cbcqiORAjy9jiJlwZLwccAM1Wpdk4KAdSWL3gmcLsLTFT5jOnMsIVLdtc1QGlMn15JI+ AmM3Y6ZlbofyYph9QQWoDiBGjjRJENpheP5DCfU4WNKMx46oIZeJX7fLRCUULMcBE0sQ Vu2g== X-Gm-Message-State: AOAM532gjAH5bOTtUMZvYzfAAhWQGdghuwXh+Y+eXZwaYwr5ATA5wh8d PgtjaLrkd0TfppMsl9aCsZ3iLm4CL7c= X-Received: by 2002:a67:ec09:: with SMTP id d9mr4017774vso.55.1591815488147; Wed, 10 Jun 2020 11:58:08 -0700 (PDT) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com. [209.85.217.48]) by smtp.gmail.com with ESMTPSA id t76sm71314vkt.56.2020.06.10.11.58.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jun 2020 11:58:07 -0700 (PDT) Received: by mail-vs1-f48.google.com with SMTP id r11so1912394vsj.5 for ; Wed, 10 Jun 2020 11:58:07 -0700 (PDT) X-Received: by 2002:a67:e445:: with SMTP id n5mr3989129vsm.73.1591815486605; Wed, 10 Jun 2020 11:58:06 -0700 (PDT) MIME-Version: 1.0 References: <20200609120455.20458-1-harigovi@codeaurora.org> In-Reply-To: <20200609120455.20458-1-harigovi@codeaurora.org> From: Doug Anderson Date: Wed, 10 Jun 2020 11:57:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [v3] drm/bridge: ti-sn65dsi86: ensure bridge suspend happens during PM sleep To: Harigovindan P Cc: dri-devel , linux-arm-msm , freedreno , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , Rob Clark , Sean Paul , "Kristian H. Kristensen" , Kalyan Thota , nganji@codeaurora.org, Sam Ravnborg , Stephen Boyd 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 Hi, On Tue, Jun 9, 2020 at 5:05 AM Harigovindan P wrote: > > ti-sn65dsi86 bridge is enumerated as a runtime device. When > suspend is triggered, PM core adds a refcount on all the > devices and calls device suspend, since usage count is > already incremented, runtime suspend will not be called > and it kept the bridge regulators and gpios ON which resulted > in platform not entering into XO shutdown. The "XO shutdown" concept is a very Qualcomm-specific concept but this bridge chip could be used on any board. ...but I think it's fine to leave it as-is since the meaning is clear enough. > Add changes to force suspend on the runtime device during pm sleep. > > Signed-off-by: Harigovindan P > --- > > Changes in v2: > - Include bridge name in the commit message and > remove dependent patchwork link from the commit > text as bridge is independent of OEM(Stephen Boyd) > > Changes in v3: > - Updating changelog to explain the need for patch > > drivers/gpu/drm/bridge/ti-sn65dsi86.c | 2 ++ > 1 file changed, 2 insertions(+) Note that it's generally considered nice to CC folks who commented on previous versions of the patch since they are folks who are almost certainly interested in it. In this case that would be me and Stephen Boyd. You could also, in theory, carry Stephen's Reviewed-by patch from v1 since you have fixed the subject as he requested and you have now also fixed the commit message to have some details. Reviewed-by: Douglas Anderson