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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD80FC3F2D7 for ; Fri, 6 Mar 2020 00:30:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A30552072A for ; Fri, 6 Mar 2020 00:30:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="St2tTXd3"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="GdI9kNUe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A30552072A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wRDXQGRiWrVu78ISRbE7jVC3GFLHDl18UBBEWF3ahgo=; b=St2tTXd3bQNnDP eqGjyWkVL8lDEBYTq/ELZ+ahjpipBzgXMZ9S8sxcTxvMy0e1RSDstr6qzPN0J36irDHyR68l6SFHW xeeCjsAGLd6y9r0+aqslNvmLwHD4CoQypCu3VI/1gqHbOqbxB82k14YvTBwnX/RKU7J9DkCN01CG7 hyPxNTyFuxIVL1kJOlqDzhJr04Xa9hIrptHG0G98gH+iptTPVaP8OmQ2JIhLwmB3/t+N+S3uW0LSB U7tdVygquGtLS7fD3FRxrVa2zsPXdccesDo+SV/rfGXNbcHZu8MW4WNocGoovpxfYwI+z2HgUOKu2 smTzx/bvXhbIA1Vk5YKQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jA0t3-0003dm-6B; Fri, 06 Mar 2020 00:30:45 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jA0t0-0003dD-0K for linux-arm-kernel@lists.infradead.org; Fri, 06 Mar 2020 00:30:43 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0260TlG3004717; Thu, 5 Mar 2020 18:29:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1583454587; bh=MM2TeeUzDkVH6Jaz3FdkOyWt+8KGCQgxym5sFOmIbNs=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=GdI9kNUeGDoFFbibWxDSVaNzrnMVGFT/xtGPZBrcWLPKJxInG3mPNOMNoigiSxOXv G/bKnj3DQmj+jGX9fFSWJbGDq7UsbYzvXp1CMKMoRINYiR2MKOg/wBxDVrT4zLgUS6 btNdiIem06vdcaTKvZhjlRymM0MrljUjKN3KarKw= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0260TlFw126586 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Mar 2020 18:29:47 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 5 Mar 2020 18:29:47 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 5 Mar 2020 18:29:47 -0600 Received: from [128.247.81.254] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0260Tlg3085113; Thu, 5 Mar 2020 18:29:47 -0600 Subject: Re: [PATCH v2] mfd: syscon: Use a unique name with regmap_config To: Lee Jones , Arnd Bergmann References: <20200127231208.1443-1-s-anna@ti.com> <20200224100037.GK3494@dell> From: Suman Anna Message-ID: <5efbb3c4-044d-0a8e-630a-0dd559f20669@ti.com> Date: Thu, 5 Mar 2020 18:29:47 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20200224100037.GK3494@dell> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200305_163042_090644_453A93FD X-CRM114-Status: GOOD ( 12.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Lechner , Tony Lindgren , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Quadros Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/24/20 4:00 AM, Lee Jones wrote: > On Mon, 27 Jan 2020, Suman Anna wrote: > >> The DT node full name is currently being used in regmap_config >> which in turn is used to create the regmap debugfs directories. >> This name however is not guaranteed to be unique and the regmap >> debugfs registration can fail in the cases where the syscon nodes >> have the same unit-address but are present in different DT node >> hierarchies. Replace this logic using the syscon reg resource >> address instead (inspired from logic used while creating platform >> devices) to ensure a unique name is given for each syscon. >> >> Signed-off-by: Suman Anna >> --- >> v2: Fix build warning reported by kbuild test bot >> v1: https://patchwork.kernel.org/patch/11346363/ >> >> drivers/mfd/syscon.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) > > Waiting for Arnd to review. > Hi Arnd, Gentle ping, any comments? regards Suman _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel