Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp662021pxk; Thu, 1 Oct 2020 10:46:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJya0zIHKLZ3Qd574UWUQz3om1awtQo0O7jLoilMY1NQcUzD9f2B+O+V8+Q6HommUXeCK8LY X-Received: by 2002:a17:906:fa8a:: with SMTP id lt10mr9270925ejb.307.1601574362624; Thu, 01 Oct 2020 10:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601574362; cv=none; d=google.com; s=arc-20160816; b=bpn6xmYV0X8fh6LhIAb/bvU3TbLsmEXZoasiIYK0bgNjXdJ1PtjaYj+yGQlZvj0c4P IEJyQ+GZlrf8R49nttyG0ADCL3IqcFhTkp2M0W6BjAlOUOjlIhTJmGRH6zgUaT+jeFKd E2ExKN11BOILGBTcRENyq7JAHgD3Unza3Mqmr4XmBoMaaRCWqmTnRgSfF8k98wsw89Up Knl8ZOuJIJDSDTt/98rgZO7xshPla5ZTTqFBDWqjIHmbRxSGa0qYmtE+sPZ1GAxT89hX L3T4d1t960CbdciHkdinVObUjBh4bUW/WUSEwfSF2wxRrIsM+VoessWq8xQjTz7KpTMj nOaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=UDAUypWXCoawPA3myGEk0QfxeEXwHLOn9W7oNekM2S0=; b=TntM89RTKPAvfTlMWDkT41Vb9MUBdla0EoaFNXRjx1fmDm5IYOXw69xX/sdddTNPNv IvPnf7hLxdxAo0aVr+G4FTyDw1m9hkshll72J961v6D0fZHHPi7MQUvY/m2fId8tZ49f w3a/3euuxOpaV36RPzxWY2oUe4fHA6VA4UB9dMz3mgiMc7grkT+HjK0iydyBeTRXJPJv qIntFtLEcxGWWPRO4mvPbajbfq/7cHlFPHTmfqKfYkOzBlepN6A+GNls3WLllavufRVP adfGLSPZB/caJ6EpMLooxQdcWbNvCt+y65E4c6DKalt7jKRnpq9GEOntfgPH2CB8mA4I wAyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kIoK3hPy; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 18si5261554edv.184.2020.10.01.10.45.38; Thu, 01 Oct 2020 10:46:02 -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=@kernel.org header.s=default header.b=kIoK3hPy; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732935AbgJARo0 (ORCPT + 99 others); Thu, 1 Oct 2020 13:44:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:46744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732096AbgJARo0 (ORCPT ); Thu, 1 Oct 2020 13:44:26 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ADAB02065C; Thu, 1 Oct 2020 17:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601574266; bh=yDehtF4IizG1+bvClOPdQB5zgSjOKIK9WCbXY0EIn5g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kIoK3hPyMXLfqCl4RYmrAichf9X9xY3fW06b6UmbjsTQodwhu5sCbtKmD6LiRLyeL rTd9UHbAzeoRnafR1qEhmH1N0gYHJTXlbDZbDwLnu6Z0UamY7paZ/EZQ5l36DtDZDx 9ExkCPdrYSy+9SZZpdyhrGwfC9Er6E7klsNt5FfU= Date: Thu, 1 Oct 2020 18:43:26 +0100 From: Mark Brown To: Stephen Boyd Cc: David Collins , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH] spmi: prefix spmi bus device names with "spmi" Message-ID: <20201001174326.GT6715@sirena.org.uk> References: <1600812258-17722-1-git-send-email-collinsd@codeaurora.org> <160151084091.310579.3876905878885019200@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zu8lIfFVzXMVnfzp" Content-Disposition: inline In-Reply-To: <160151084091.310579.3876905878885019200@swboyd.mtv.corp.google.com> X-Cookie: Stay away from flying saucers today. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zu8lIfFVzXMVnfzp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 30, 2020 at 05:07:20PM -0700, Stephen Boyd wrote: > Quoting David Collins (2020-09-22 15:04:18) > > This helps to disambiguate SPMI device regmaps from I2C ones > > at /sys/kernel/debug/regmap since I2C devices use a very > > similar naming scheme: 0-0000. > Can regmap debugfs prepend the bus name on the node made in debugfs? > Does it do that already? It doesn't do that. I have to say that given the use of dev_name() in logging it does feel like it'd be useful to have distinct names for grepping if we're running into collisions, IIRC the reason I went with dev_name() was that it's a commonly used human readable handle for diagnostic infrastrucuture so it makes it easier to follow things around. --zu8lIfFVzXMVnfzp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl92FT4ACgkQJNaLcl1U h9BV1Af+MHzFhdcSfvkTGxz/dXRadwepqbGIk+mz66mK12LImXcyDjJP5Oc2D2FB pyvuCNTctqZ5Bi+vaCuPaYeqTcXaiUYoHtTha7BqdRGnmDOWIeGAFbM8EKpvPgj/ uPR0Gqp7Aw6+naIL1GERAvp+S6m6edHUQ1aljaWndhln1shy1nbgIbMdKxY0PhiC rzIXaMor8t14alJQBaeOIW/qOMUXYe1M+sIbou6/zVQJN0xJj91bSIutjd7kmZEP EYnTC6v55apR3nRfGuIGpeoGoy4nIS1D/rVPGWhdlGpS6/JGWnRenoel7WhtmMu0 QZIqr3SLewuunBtZqLg4uXQuNvbfJg== =1lGM -----END PGP SIGNATURE----- --zu8lIfFVzXMVnfzp--