Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2295092ybh; Fri, 24 Jul 2020 09:10:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWaOBQvY6SGhQ5FXj7QPtuvaD8QwvvMF+KBLBg5rrocOLaqJHmz3VMCFca8f7QKgDhpwBl X-Received: by 2002:a17:907:7291:: with SMTP id dt17mr5810938ejc.73.1595607023338; Fri, 24 Jul 2020 09:10:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595607023; cv=none; d=google.com; s=arc-20160816; b=CvRqGT0Wbw5JvehhJ4ix5dKpj/eULS2AZWRPPVMTRSusEsRT4k6HCwg7cGnWv4DYqn j7nRx4RcK0Y62N1hbzTF0N7JfzR116BrInvZkGyWVDsBL2J1RYfouKOBlkBWcUIUpLmV VdnZOQRSR8OMyaYw7fJVB6hPx6XTge0+BCNi2jzoD7CV78bCobv97C4mLV+1IQZ2Cfw3 9yAgpxQvyGXkrxtUnh2Spxs7YWvVS/EhDn3RTxTbe7w7MPzggrcLtA6Ten/tB5rv3qui LoGEeKRY0I/NWKcvYwui7mRioOro1eD8oI62LSZF2h64W0ShWTT/GLCj9jjBI1oO6iHE 26/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qZJfAhP5RcYiO5VJpoh1/POga8l2SOHIu6lplyiVFBE=; b=tNJ4PCZgS0FpXgcP4rmRCDzUV05E9p0qkVMUdlRseOyYn9tDR+uX67XZflklQpkzmO HCR8/4xjmy9jh6HXlRBpBQWyKeCBC0kmeo5T5q//Y+VViwQTA2XH12z151tFnUwoMn51 M2FIc68xuAu6yBA5iZ6Xl31mbMh/QSkZRgzB7u/CJySZFkjf0buaN4UkIE2PEP8oN8Kp 34dQ+scOzmQ/RtDe555168yC+RCY7XPC4iuLbua3mFm2WwME/nnFZBlNJICftkzhmaMd Z5uNSfnt7EuzPyVw3IAr/6hx4wM/QHSUb+ZlLppLPT6cBkU7ntUgs+cuwVNEo9Xc9XSs Qbiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aqBrJCQF; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be25si757728edb.319.2020.07.24.09.10.00; Fri, 24 Jul 2020 09:10:23 -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=@linaro.org header.s=google header.b=aqBrJCQF; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727786AbgGXQGw (ORCPT + 99 others); Fri, 24 Jul 2020 12:06:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728390AbgGXQGp (ORCPT ); Fri, 24 Jul 2020 12:06:45 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E6E1C0619E4 for ; Fri, 24 Jul 2020 09:06:45 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id f1so8243899wro.2 for ; Fri, 24 Jul 2020 09:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=qZJfAhP5RcYiO5VJpoh1/POga8l2SOHIu6lplyiVFBE=; b=aqBrJCQFa5B/aBq6qeyTr9fuyyBnA11Wl65/X50Q59SPxPvtajc3QcT3FN60PsABHA rt33VA1ynxONlttakPqkagTFx2H/rTB0Xa7GETBkZLm8XcLjHuLFI9vExLBIDA73FGML xTJXDudUbujENDQ+jJG0bWhnPoA5Wh8r7GbFAnIGxQXPeDjvlt29JfPpwRiWwi9JZM5P H7SQ7Z6+gHhYk+tUXSJnBTtu5FoTG125HjJBPdRRfPiwsQhwdROW+ecDzUAYKP3krH3m bdzMeFUS54BAFWV7I/UnKi5t5FBr3EA2WSnvfTmHGsIaHG/8HICHWuQHuWulcl00dRVB KcTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=qZJfAhP5RcYiO5VJpoh1/POga8l2SOHIu6lplyiVFBE=; b=G7GVVHha3wp4VP05QKiBto0Je+MM3jzwyH/W/erRZqK258AapDmwEiR9qQXpmlr4Xp /Le3zprkFadpMI32Av2HDAzXHqgrdqqMymeWJcCeyE6WUcX4bsa0XAbWb1Sj8VCmofLG /2aqsO4HKV8NZ1YhSIlK44t2ECDV4o4Aq/mPbgNEidM0N4y4O2WLbjO18f+rbZhKWNqR +JLcs3SQ0MNrjqb/O6hyUpBB4+e9dRIpdQQ9Lba8vglkRdrD4RM6onxEdTi9pEJzGVWl UundKtX2HefwLk2EBluWlFmkwqrgwwhQM6iKpbATfMYEof8ElBEZJte5AOgnbaY2Zyx4 uQoQ== X-Gm-Message-State: AOAM531ZK/ReRAkRAyAZwb1mzeGbjFJhzhNOhGbGY7xgZLqsoGJPZ20V UkX8Hti1Cne9PUgQnDrItG0CLQ== X-Received: by 2002:adf:e486:: with SMTP id i6mr9068152wrm.258.1595606804047; Fri, 24 Jul 2020 09:06:44 -0700 (PDT) Received: from dell ([2.27.167.73]) by smtp.gmail.com with ESMTPSA id p8sm1927886wrq.9.2020.07.24.09.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 09:06:43 -0700 (PDT) Date: Fri, 24 Jul 2020 17:06:41 +0100 From: Lee Jones To: Suman Anna Cc: Arnd Bergmann , David Lechner , Tony Lindgren , Roger Quadros , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: Re: [PATCH v2] mfd: syscon: Use a unique name with regmap_config Message-ID: <20200724160641.GB1850026@dell> References: <20200127231208.1443-1-s-anna@ti.com> <20200224100037.GK3494@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200224100037.GK3494@dell> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Feb 2020, 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. Still waiting for some input from Arnd. Might be worth submitting a [RESEND]. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog