Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp90121pxb; Fri, 15 Jan 2021 08:15:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCyU8PANaPGonN1pwJfec1sG+hu4VOc2j3BbaL2CASc4MnIf8+BLeGLloURpl6ImFnRunw X-Received: by 2002:a17:907:d8b:: with SMTP id go11mr9342798ejc.303.1610727334668; Fri, 15 Jan 2021 08:15:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610727334; cv=none; d=google.com; s=arc-20160816; b=Aim3KZkVjxu0aW/msVNMNf/jUuwq81NFNGxznuJW8TUK2yKACu8HiwjfVjb7wMgWPI HiMqmxy7DFq679JQEBf1QjBPMGkn0vHj7Q/VMdJdVuWgCa3NUYU18BOM8fP7TzLKBp+c ASS18Zq/ghnQnigh+cwyJd7Ekb3yaayt4VZ8+SkPYFHZ2ihUnQR2kamSQxz/E5B2WBhG +wf39hY/vyjIiJ0hLAHEqcGundYyEW4KvZH0gIX38ShOAmK0uEydbu5r9Y0dZqqHIsQ4 Evi7gQOkZ8rzaJSWA3ePfU2nAcpi2lriLHgcyibkbM3reCGgLQUy52GA4RTSk4atulXF vdIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=c2f56oAIuPvnccFuxorIRvCzWCtWaZTs/1xK7y8H1i4=; b=hI1wINxBiiGPiExaps8u/NPSb5sML1dmjpm+osA6m7zcIKoCVkgrg1Y2VIRq5kUjC6 JNjN1cZu+ef344nffoMnNZPtitBLAPbLgXsBE8k2nLxkY9xbyf2KKXAYi54YzcRLGVdW 5rsKf7K5r9kbGMlaM2HoxHrddceCfKy2/b2H1t91p3t+8bf0dy1sPRyCk0/9iKVcAUGy 9yCHnoSjGJ2zcj8f1zOLu9HXuxxlbcnpOuvbHFdG4ElKSHdbPgtK8tf0tqsqChRY2fWm CiQub3aRlILm3FLhCyihLkwImZerjgbw8kL6umR5NhSVPY4C2HJS1s6YFmDOiaL6YX6a Eh/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=NuuOySC3; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb36si3963324ejc.470.2021.01.15.08.15.10; Fri, 15 Jan 2021 08:15:34 -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=@nvidia.com header.s=n1 header.b=NuuOySC3; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728330AbhAOQNi (ORCPT + 99 others); Fri, 15 Jan 2021 11:13:38 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:17173 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727383AbhAOQNi (ORCPT ); Fri, 15 Jan 2021 11:13:38 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 15 Jan 2021 08:12:57 -0800 Received: from [10.26.73.78] (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 15 Jan 2021 16:12:54 +0000 Subject: Re: [PATCH v1 0/5] Enable fw_devlink=on by default To: Saravana Kannan CC: Marc Zyngier , Greg Kroah-Hartman , "Rafael J. Wysocki" , Android Kernel Team , LKML , Jisheng Zhang , Kevin Hilman , John Stultz , Nicolas Saenz Julienne , linux-tegra References: <20201218031703.3053753-1-saravanak@google.com> <17703ac8-2238-0b64-3c98-ddadc7ae8a36@nvidia.com> From: Jon Hunter Message-ID: Date: Fri, 15 Jan 2021 16:12:52 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1610727177; bh=c2f56oAIuPvnccFuxorIRvCzWCtWaZTs/1xK7y8H1i4=; h=Subject:To:CC:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=NuuOySC3OSfMOloaTwT4aAgns9+FMrdwL9TfphWEKU9N7wnEpNkT47/MO2DmQA8r0 mnI/86Pvua6nDgisyLZmty9PEsj41w7Q0/qT6NywBNgSXZQMCFMXPr/idFNvlwgyOK ASjwp8jAgnA3RjD9HbiV5AzgTuCoKvfA9Rj00H3ucYMVJltUWBHIe2n/12t8tBfCCU JEepgXxBPCJmLptfcsE6qW20R9suKTuSmplSndy0ioNyncrebbj2S6cF9JP5Kx233t qEuGC9iN9X5JXcXj9iSc6J5b21D8MFBSbTBN3TgBbT5yECLnBudUnj8saluRTGHljm A/c6hPditQqIg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/01/2021 21:50, Saravana Kannan wrote: > 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, }, > Thanks, that worked! Tested-by: Jon Hunter Thanks for digging into that one. Would have taken me more than 4 hours! Jon -- nvpublic