Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp604458pxb; Thu, 14 Jan 2021 13:54:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOSOrO5Rt600CU7hDOzm61I5qDlEn4sztxhUHFfDoORuzafdqLAB02N/0FLz5ZMKlh43VS X-Received: by 2002:a50:d80c:: with SMTP id o12mr6975989edj.338.1610661295804; Thu, 14 Jan 2021 13:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610661295; cv=none; d=google.com; s=arc-20160816; b=WtN1MPl32vKI+h1zB+ys5f6EqwwVbFiPynFxkHpq/rOUsf8trqhqgo/WFw2qYgUAZ2 QK0aBs1IVMMpiWQudabb8AHKozCa62tsD8OMNpHNsvoBSwCLYgqoLbxDB8qfASBxukar jdPrDWmaCXmjXwmtI5pkb8nkAcwwTDrW/mbW3j0IUvRogNXQnuMGwwYQ2qYtUOJo41+V Ss1ZiqbbFiib7zPAKgLdHFvDuWwdQNwREUr3Z6SCw1VSBe3JWqL8G01OZNgw9qJjpXiT gvuPtL5v5LWl6Iaqaz7bg6T6YJ6OnVOSmUrZAXllLQu2tujIkK3toT5HJA3ucm0gu47P BjKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8MaJhCChLvMA5q7Hc7EGz9x2JBN/Mr/+/kQsJO4ydp0=; b=RM9bp3DZaArJ5p3DiYs1LbSR8Jwm6/uaaqX1NOzI9DTAINRGdSEU0TPHGEXANGzlDm zq6cR7AurNsBMncKjXKYiDoZGtgz0+Vv4LND3IPJhBfmh4Ng251Wb4oFyRm82/V5mstM K+6UY2jK2+YyMano65kVvEYpc/su9ce26ckGFekqCDIb/MzhZE3u1UdE2AM7Uee7SSpb I7NT70SGyj2Z/vJhuj/JCMu7QDUFVLIHTFcJ9w7T7o+CjT8XsL7J2twn2zhJR9vf1dlB PZ0sgtu3CgEWx6tVQlTQbi5OCuPlBqNedpWjaXokYQH8FCiIBsml5ciH2wcc6pMzyXO5 sO/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=giJjqVe3; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v26si2897100ejc.336.2021.01.14.13.54.32; Thu, 14 Jan 2021 13:54:55 -0800 (PST) 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=@google.com header.s=20161025 header.b=giJjqVe3; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730415AbhANVwL (ORCPT + 99 others); Thu, 14 Jan 2021 16:52:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbhANVwK (ORCPT ); Thu, 14 Jan 2021 16:52:10 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F64EC061575 for ; Thu, 14 Jan 2021 13:51:30 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id y128so3175287ybf.10 for ; Thu, 14 Jan 2021 13:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8MaJhCChLvMA5q7Hc7EGz9x2JBN/Mr/+/kQsJO4ydp0=; b=giJjqVe3Kr//U30LVgKzadlQb8wdA/+YGhxY7JPrxL8nWL6SpFSejBXGGRnbs3Swbt NhA/luSJJs/kbOWr1t0yuKsKMUTOGL1dmLqEULuCHyI6uWj3RSfCCBxJGKE57yqRQtG/ f9UVuM+T08zZpLGrUgtsQ6SHVS8urxRmV63GmO81u1VohhaCljESsqeKLP4Ilc30rQFJ SOb106qBEmPmCswU8nttfm2L+GcfmScDYDmKRM/g4a4jbQ97euKG1/pY57Hi0cF/e9Vc wjja0Ee1USX8DCfchkLKG23qhaKtPlP1Is9VoKyH59XzKgNB4UpTx5pXXrwahoI53+96 Undg== 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=8MaJhCChLvMA5q7Hc7EGz9x2JBN/Mr/+/kQsJO4ydp0=; b=c/5ZiuBrbsBUgoSWiK8Mq9ygN9aDMUJlMysV+vSSwO2WZcZCa5IDrV/VMHel7v9IW0 e1i9l7Q/nvDQfqRpXcQnANdFRd3qBLNPPOYEshT8RT/e2F8Mfq75NMuhSqHPUhnPAzOC zwCAErd8YAez6n9XqbA3M1RKkct4Up2gqZCDhLDl3Q+KQfIlRy4obwX/4fF1OUDrzOEI uic37muJUkpvVfXO2JVtlaTTrfJMq4uKZHNGzdF/WDuTdk8TdgJLaZyJ3/Q9xDE134l9 RHN0wGP4yUE2VLX75Z+m0tqO/Pm9sE4FOQlaJ/VfM3k9wcUE4bqe+QDms/InW/THxhxB QoSw== X-Gm-Message-State: AOAM531yHRfqFDdDPh072t6fAdMtBBFJV2euc9wIvzs4dsW7WImkdvVI lW7cwLLqD/xePkA5MHq4+URY/MUpwlI6mdFrjbVifw== X-Received: by 2002:a25:d295:: with SMTP id j143mr14364937ybg.20.1610661089343; Thu, 14 Jan 2021 13:51:29 -0800 (PST) MIME-Version: 1.0 References: <20201218031703.3053753-1-saravanak@google.com> <17703ac8-2238-0b64-3c98-ddadc7ae8a36@nvidia.com> In-Reply-To: From: Saravana Kannan Date: Thu, 14 Jan 2021 13:50:53 -0800 Message-ID: Subject: Re: [PATCH v1 0/5] Enable fw_devlink=on by default To: Jon Hunter Cc: Marc Zyngier , Greg Kroah-Hartman , "Rafael J. Wysocki" , Android Kernel Team , LKML , Jisheng Zhang , Kevin Hilman , John Stultz , Nicolas Saenz Julienne , linux-tegra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 10:55 AM Jon Hunter wrote: > > > On 14/01/2021 16:52, Saravana Kannan wrote: > > ... > > > Thanks! I think you forgot to enable those logs though. Also, while > > you are at it, maybe enable the logs in device_link_add() too please? > > > Sorry try this one. > > Cheers > Jon Phew! That took almost 4 hours to debug on the side! I think I figured it out. Can you try this patch? If it works or improves things, I'll explain why it helps. -Saravana diff --git a/drivers/of/property.c b/drivers/of/property.c index 5f9eed79a8aa..1c8c65c4a887 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1258,6 +1258,8 @@ DEFINE_SIMPLE_PROP(pinctrl5, "pinctrl-5", NULL) DEFINE_SIMPLE_PROP(pinctrl6, "pinctrl-6", NULL) DEFINE_SIMPLE_PROP(pinctrl7, "pinctrl-7", NULL) DEFINE_SIMPLE_PROP(pinctrl8, "pinctrl-8", NULL) +DEFINE_SIMPLE_PROP(gpio_compat, "gpio", "#gpio-cells") +DEFINE_SIMPLE_PROP(gpios_compat, "gpios", "#gpio-cells") DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") DEFINE_SUFFIX_PROP(gpios, "-gpios", "#gpio-cells") @@ -1296,6 +1298,8 @@ static const struct supplier_bindings of_supplier_bindings[] = { { .parse_prop = parse_pinctrl6, }, { .parse_prop = parse_pinctrl7, }, { .parse_prop = parse_pinctrl8, }, + { .parse_prop = parse_gpio_compat, }, + { .parse_prop = parse_gpios_compat, }, { .parse_prop = parse_regulators, }, { .parse_prop = parse_gpio, }, { .parse_prop = parse_gpios, },