Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp48291lqo; Tue, 7 May 2024 11:43:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWTQDSB/UtqLTzTaPFtyzpzBukJ21Cxs1lKzEm+9oU7mY5Lc0Vd5Br/xvLKKE5cCOGVAIOMQ9tw1RRlSCrWCj9LttZEbyPzIywhBrxDhQ== X-Google-Smtp-Source: AGHT+IHJDQoxbc3pRtdET2xuOzbBcoIt/oYlmHffPoCqtTiRhQbP6yVmnhEcxXUTxwVWo/5BJHGx X-Received: by 2002:a05:6a20:3257:b0:1af:6a37:3b8a with SMTP id adf61e73a8af0-1afc8d26c83mr614751637.16.1715107384580; Tue, 07 May 2024 11:43:04 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ey14-20020a056a0038ce00b006f47258f9c5si5427935pfb.279.2024.05.07.11.43.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 11:43:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=rAThU3xS; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-171969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A3896B2AD8D for ; Tue, 7 May 2024 18:15:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E171616D4CF; Tue, 7 May 2024 18:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rAThU3xS" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 355FA16C878 for ; Tue, 7 May 2024 18:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715105689; cv=none; b=jEr+TCRQqSFim+4XC8hNLt83o78p5W4loyfEpircfKWIpbN3gS8kpVglXw+zgtUHwY7M5tWOyPaFGagk8C7YBIaYxDgSOXDCcSLxfBLE7YGbDO/3FhLwsjqbhHfJ+VbW6Q4IuUYyap4YGbPA+nZ50MFQ3AMHf0ztXhc9McMGhrc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715105689; c=relaxed/simple; bh=9Ifwdzf+BLBCB/Pq8sUmd441Gn2ZPiWzxJzH0wqn3vo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Akiu27Tz5ycmyaKgOP6BLwKQTB0Rj32NgLBZ/9buZ/kU8IB/yArl1umcEhbdQxICPqeRhIc94KyQlibLYTU1EQkXCkbVfHWZ5hYEcnmGCb+2MT66z3yz8xHsZZkd24FtK+k2wNlmZxGmFpdeioXdZNmmMAYlKxtxhjKT/GYDLLE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=rAThU3xS; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a59a0168c75so898900166b.1 for ; Tue, 07 May 2024 11:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715105686; x=1715710486; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=MKG3vCPxMeIDWy7dMjQ27D54/PVeAXq1+pgcoFyh+N4=; b=rAThU3xSd+iCtd9LxSkd4tEC9ndGyggz8T1qpZOysZDCNBWwzyrNwpAzpK+RI3ytNE ZczhXmeNJit/k9vRX6n9fNGdoGJxC+yt3IfmJ/MJJIOaq672knn8p7nQyhI8Zk9nuFHM uHuoW725bt8/dWIWe05bY0EEQxcjQBVsGdZ6Hp8HEjo/XanhUX10xOpHbwENPZwTYM2d p2jIVV+n5p9fsTwnVN4HdbkjMEhIi+vx2uvQoQtEg+zH0MFLeVsen5GGr3kK6aBLGCJx 1s03MiyFdKewu4FlNb+gfw6XOT14cLjHYsxA5QSJmASmGZKe/w1KUi5TWExYD1M9Xr0w p/1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715105686; x=1715710486; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MKG3vCPxMeIDWy7dMjQ27D54/PVeAXq1+pgcoFyh+N4=; b=qvvufS9C8x1Sir68+Ai04Zr0vjWpLilVm0DOOoBiiNCREWO8hRcdWJr7W3u3jaYdH+ 128Ar1SERJ1UxkpCB5jTblTaFiKdWW4b/eiSjTMvP+z4xCUX5IFzB6757Ww2ezS44qJE 5vnW6WnlivLty+7dRCX86Drc9hrFyQw8EkymT0YSt4doof+ElpYvG071ALFanLx9U78T SRg2aWoZQuuylqx3fOC1mi6OGRm9V0v3D6rkiX74bIxoxoTU8b5wsHt200BcqcAXweIP XXsrlTLoIv04J5HeXiOjLLYpaHI4XD1tvybBLsIJwh0hbRrhhD8EAfdMB3JjaAybOKvR Q87g== X-Forwarded-Encrypted: i=1; AJvYcCWHWu98iuMwKB1c7FMrB8WcIHlZRrIpH5OAytU+5j9cZVTwP4lAerSQLCFg1u6cm2STZWr0Gdul0ulXQyy0V+g36j2X2ekPzUyEA2Aj X-Gm-Message-State: AOJu0YydbUXOXboGt94GpswFJxa9GKg4wfOqcPnS8ONQZzMJoISisBOl Fia6D7OB+QdYpQ9BxziMID1YyqNdgEAZCVfMZdTbtqfyjD8Ouk7j44i7KHI7Zcc= X-Received: by 2002:a17:906:4e81:b0:a59:a2f1:5a10 with SMTP id a640c23a62f3a-a59fb94bc41mr14398866b.6.1715105686570; Tue, 07 May 2024 11:14:46 -0700 (PDT) Received: from [192.168.1.20] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id wr5-20020a170907700500b00a59f3e926c8sm663606ejb.152.2024.05.07.11.14.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 May 2024 11:14:46 -0700 (PDT) Message-ID: <8d2ea17c-f91e-4e14-a239-e5e999f6ac50@linaro.org> Date: Tue, 7 May 2024 20:14:43 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 12/13] regulator: add pm8008 pmic regulator driver To: Andy Shevchenko , Johan Hovold , Krzysztof Kozlowski Cc: Johan Hovold , Lee Jones , Mark Brown , Linus Walleij , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Das Srinagesh , Satya Priya , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org References: <20240506150830.23709-1-johan+linaro@kernel.org> <20240506150830.23709-13-johan+linaro@kernel.org> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYp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iqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 07/05/2024 19:22, Andy Shevchenko wrote: > On Tue, May 7, 2024 at 6:44 PM Johan Hovold wrote: >> On Mon, May 06, 2024 at 10:09:50PM +0300, Andy Shevchenko wrote: >>> Mon, May 06, 2024 at 05:08:29PM +0200, Johan Hovold kirjoitti: > > ... > >>>> [ johan: rework probe to match new binding, amend commit message and >>>> Kconfig entry] >>> >>> Wouldn't be better on one line? >> >> Now you're really nit picking. ;) I think I prefer to stay within 72 >> columns. > > Not really. The tag block is special and the format is rather one > entry per line. This might break some scriptings. > > ... I think [] can be wrapped, I saw it at least many times and I use as well... .. > ... > >>>> +MODULE_ALIAS("platform:qcom-pm8008-regulator"); >>> >>> Use ID table instead. >> >> No, the driver is not using an id-table for matching so the alias is >> needed for module auto-loading. > > Then create one. Added Krzysztof for that. (He is working on dropping > MODULE_ALIAS() in cases like this one) Yeah, please use ID table, since this is a driver (unless I missed something). Module alias does not scale, leads to stale and duplicated entries, so should not be used as substitute of ID table. Alias is suitable for different cases. Best regards, Krzysztof