Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp818677rdg; Fri, 13 Oct 2023 01:55:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGa1aSbB56roIMIPWTa6l7IVVwr5TB7YDB4VivoxWR1od60fIW9TAaq7BhcsI2f79+HWITO X-Received: by 2002:a05:6a00:21c9:b0:68f:c7c5:a73a with SMTP id t9-20020a056a0021c900b0068fc7c5a73amr28722544pfj.16.1697187318803; Fri, 13 Oct 2023 01:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697187318; cv=none; d=google.com; s=arc-20160816; b=BC82mELJPj5aWSvqhe6AC+/klOLEvfE1zpk7ooYiqCShCsuQBlo43y2bJB/uJy0DiH vRZLzFqf5HRt4XSO74g++ge+j8Lvg5N9NgDyXLBhJqmpql2pAR26AfsrKD1r6kAuzIW3 Dk8LS3Hz1Y8mca9GqKurghUtxCBHn2nYytcAAQqHeQOYmq1o+0hBo4W8N2tnaS5k7TQV KewDEnBPYFkE53K3DGx/9UsHl35wAqCApURz+5Mn4Sj6EJmR63lA8CzDvyPtgOn+vzgf 2xnkQgSArdO4TJ3AZJwBz8xmtsr9tb3RT7Nz8TKdi3psoUBctleAXHzw0bkf7MnxqrWH oAvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:subject:cc:to:from :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=E8JKGwUdtfI1UibvU08qy7GVuAI+nB0XIQdzpOpzSSg=; fh=4M5XrrogWL2CYEIhBY7+ocB79yyKb2ztwjkzQcc9zKs=; b=huYuDtcItBx1ar+Nv4F9KXMG2NmApil10LwOZUoHnFwgN4IOOODjXf5W5IlohThA0w YIUzBSl6GMklBciM3dYoBP7M9lkOJFxE4A3UchryYKzW77087ohWCHGiNX/Obt5Oi7c0 FrlcRbOaS0x1bxlZV7CGcDBoQty5j/OfzF+Benqm/CcD9vzE9P52ujonS/mbWhWnBwZN iOZk5UcPrOh2p4PS3yhZc/GVk+7X8i92PCNEy+EAtKq3yic2YhaMIhwI6Q4X/PVXUsGo BSbHI49QZYJTLzCay/OdG8DbCTcVnKfvSck9YCrScr2pENkboPlkUp59NLuSyC5kTYvR Vkag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=R+EiyWoP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id k21-20020a635615000000b0057047d68821si4174732pgb.565.2023.10.13.01.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:55:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=R+EiyWoP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6F74482CC44F; Fri, 13 Oct 2023 01:55:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230246AbjJMIzD (ORCPT + 99 others); Fri, 13 Oct 2023 04:55:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbjJMIzA (ORCPT ); Fri, 13 Oct 2023 04:55:00 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C13CBD6 for ; Fri, 13 Oct 2023 01:54:57 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-9ae75ece209so299651966b.3 for ; Fri, 13 Oct 2023 01:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1697187296; x=1697792096; darn=vger.kernel.org; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=E8JKGwUdtfI1UibvU08qy7GVuAI+nB0XIQdzpOpzSSg=; b=R+EiyWoP31Irvq7IKhtzusGibou/eRuJMG4YoX+vb8wooHWC1mT/8aONpZU1afd9mX wfPndGJRV28Rt93F1Mqv/IF9aHEU/6iO2lvOk3ZNtLwbq/sn6uov0oMwGEwEfujI/aZu 7ctCGtjfeU2fetAuEwnuu3aDKYbLwyi6R/C6/+9Yb7MwjwQgHhjhuR43v8NBZvvLpVw0 NmSaFFOKx414YlIEYxToaBZ1/+ium4SezdUgH7aqHm2z2oyAJWJGyOY6nbxqGUtyNsst c1UZ+7Eh1uFDTPhCGSwr91AynwvV17NhwmJ8C5snrNQAwQgbzQXleTNg7rTHSXuF5q8c m4LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697187296; x=1697792096; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=E8JKGwUdtfI1UibvU08qy7GVuAI+nB0XIQdzpOpzSSg=; b=im8ASXgxRg7qbuvWg3bDgxqUAsGEINqoAloMcp9tq2551yNRA7F26oI4k22jfNZBTH 50fhDnMDdepUCtQUH/RnuJQoAwWvAAwUH8c4h8npmDvH6YLfI8XOl/pcUGuRPPfWzuHz JQ7wG1fhaAOP/uS5z3ar/8OFwVZn8BZAskZ/1eyCHtDYrr8P5E6MrWn5S79K8CgXmIY7 +utjReb0uRYa4w/Zv3A0CoGqzFvHdY3XzjSJwMgG+bt8HjEiFFHHHzae34PLCkEyVEE2 B1TymE7qwcCCVxppuVptO71JdOBodkEsjxPHH7HNuTdhtDAfq11HWmiYKGih4y17msKx vU5w== X-Gm-Message-State: AOJu0YwP5T6CPiKs7hDEnCNwkrq6HPN0BjXwZS4Z6zpfyIPQ5Jt5o4oP DAsR0qRAq3BO7yXU3N4k8ZKn7Q== X-Received: by 2002:a17:906:23e2:b0:9b9:b12c:133d with SMTP id j2-20020a17090623e200b009b9b12c133dmr19287609ejg.53.1697187296173; Fri, 13 Oct 2023 01:54:56 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id oz10-20020a170906cd0a00b009ad8acac02asm12219112ejb.172.2023.10.13.01.54.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Oct 2023 01:54:55 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 13 Oct 2023 10:54:55 +0200 Message-Id: From: "Luca Weiss" To: "Krzysztof Kozlowski" , "Andy Gross" , "Bjorn Andersson" , "Konrad Dybcio" , "Jonathan Cameron" , "Lars-Peter Clausen" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" Cc: <~postmarketos/upstreaming@lists.sr.ht>, , , , , Subject: Re: [PATCH 1/4] iio: adc: Add PM7325 PMIC7 ADC bindings X-Mailer: aerc 0.15.2 References: <20231013-fp5-thermals-v1-0-f14df01922e6@fairphone.com> <20231013-fp5-thermals-v1-1-f14df01922e6@fairphone.com> In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 13 Oct 2023 01:55:16 -0700 (PDT) On Fri Oct 13, 2023 at 10:38 AM CEST, Krzysztof Kozlowski wrote: > On 13/10/2023 10:09, Luca Weiss wrote: > > Add the defines for the ADC channels found on the PM7325. The list is > > taken from downstream msm-5.4 and adjusted for mainline. > > Please use subject prefixes matching the subsystem. You can get them for > example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory > your patch is touching. Seems very inconsistent (git log --oneline include/dt-bindings/iio/qcom,*) but I guess this would fit better? dt-bindings: iio: adc: Add PM7325 PMIC7 ADC bindings Will update for v2. > > >=20 > > Signed-off-by: Luca Weiss > > --- > > include/dt-bindings/iio/qcom,spmi-adc7-pm7325.h | 69 +++++++++++++++++= ++++++++ > > 1 file changed, 69 insertions(+) > >=20 > > diff --git a/include/dt-bindings/iio/qcom,spmi-adc7-pm7325.h b/include/= dt-bindings/iio/qcom,spmi-adc7-pm7325.h > > new file mode 100644 > > index 000000000000..96908014e09e > > --- /dev/null > > +++ b/include/dt-bindings/iio/qcom,spmi-adc7-pm7325.h > > @@ -0,0 +1,69 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > We expect the bindings to be dual licensed. What was the license of the > original work? Yes, just GPL-2.0-only: https://git.codelinaro.org/clo/la/kernel/msm-5.4/-/blob/LA.UM.9.14.1.r1-086= 00-QCM6490.QSSI13.0/include/dt-bindings/iio/qcom%2Cspmi-adc7-pm7325.h Unfortunately it's the same situation with all the other header files like this one. $ grep SPDX include/dt-bindings/iio/qcom,spmi-adc7-* include/dt-bindings/iio/qcom,spmi-adc7-pm8350.h:/* SPDX-License-Identifie= r: GPL-2.0-only */ include/dt-bindings/iio/qcom,spmi-adc7-pm8350b.h:/* SPDX-License-Identifi= er: GPL-2.0-only */ include/dt-bindings/iio/qcom,spmi-adc7-pmk8350.h:/* SPDX-License-Identifi= er: GPL-2.0-only */ include/dt-bindings/iio/qcom,spmi-adc7-pmr735a.h:/* SPDX-License-Identifi= er: GPL-2.0-only */ include/dt-bindings/iio/qcom,spmi-adc7-pmr735b.h:/* SPDX-License-Identifi= er: GPL-2.0-only */ If you know someone at Qualcomm to ask nicely to relicense those (plus ones that will presumably be added later), that'd be appreciated. Regards Luca > > > +/* > > + * Copyright (c) 2020 The Linux Foundation. All rights reserved. > > + */ > > > > Best regards, > Krzysztof