Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2271749lqb; Mon, 27 May 2024 13:57:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXNRYFeh/0m2zvC7k4DuDtUOInBsNrSpz4RBdPP4RbgJl+9IlIKGyMeSK+oz+utY+zSS2y56UbFZi6PMmub/pkirQ30zyE12udgUjJdWA== X-Google-Smtp-Source: AGHT+IFM1wRXy6FeDE7dBxwiP1jl7dpSNO6dCHU2/WKiJ0FHlLW3Ks8FxYVQSCR5IKel2JiclPlq X-Received: by 2002:a05:620a:55af:b0:792:fe50:33af with SMTP id af79cd13be357-794ab110928mr1031392985a.63.1716843453285; Mon, 27 May 2024 13:57:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716843453; cv=pass; d=google.com; s=arc-20160816; b=Ae056i7LlS34hXR+ZA9ghTdnYlfJmwO0OXk6JTZ0vazXrx3b6PV4zpuJhXTbXCOGcw AAW3ZpRt1dtnWe9DX/Eg3CsLp6cAUxVZ4d/n+NUdc8C3aB3LS8CcCfeR62lzI1hgsgPK 0Wh09Lqb+oBSwq8dBXeI3wwXhH018josmzuaCjH+e1PthDTs2NDmH1qCQ+Co5he8ifpP enJYv12oiNpfHU7Aqo7LPn2CpNzAFJtj+XYL+uRe7PQJm8J8pwP/elHM/YGMXH7+Osp8 7j5vM6hfmD0EJplUHTOQ4n32DsAtvjds3jXnOVkMdbkPHapObfz4+2wimFRpS1ArSP95 JjzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=e8bs9EbhcdQK3rxulMupHjqyar0ItbldeLVgIYJXmjo=; fh=QvV2o0lzUv6DXXizNxG9xpO6tJeFAnEDS9la7qKOBl8=; b=ZnbdyHML1+/F/8oEPqQ9779hoaLgS5Pl4mrV3OZFBWoZ+tDLvG1wPkt2K5UDDsdq/q CAMD6WmCkiti1DzoeBynvYbujbZcVHQU9IMkSsbEaCZhcNURahcoIJw9Zv88T9uc3Ku+ 8VwQ3ElVd8/mTPs7sNyllPIws9HmvuASs6WyN3FHMd3uBpIlWT5+zgtDQmxv2nOK4BCX zBf8aZgK4zDd0Dwix7a8ULDf6rL4O75UttcHhsjaXeyVgxGh7Njsi6mARiGwfRidibSw SSjWokoE80WuGR8UoZs/rhDLmF4O9nCPvcR4p/5sO43p+NOpUOIm/h6TRxlyQogjl89W 3NhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="xk/9zLJs"; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-191405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191405-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd50f22si865427585a.657.2024.05.27.13.57.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 13:57:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="xk/9zLJs"; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-191405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191405-linux.lists.archive=gmail.com@vger.kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2D91F1C2089E for ; Mon, 27 May 2024 20:57:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F4D5DDC1; Mon, 27 May 2024 20:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="xk/9zLJs" Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) (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 58FBA1DA58 for ; Mon, 27 May 2024 20:57:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716843441; cv=none; b=N6ySzHcdMyxYsINriazj7I6+fCaMoknOW40jTcqWlfBDBxsfHgN14n/FQlbd3x8C/p0f0fuLzV4F1MYRltW8NAL5LgsjzaWF5HBPK8gTAN6YJzMmVoJPvBFf5G73ZRBTTVNgtIiEOs1cUGWaqQT/5MIHbMLMwmbH8lDua0VyyoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716843441; c=relaxed/simple; bh=dAU5llq+VJ28lxxQTUliN3NMu/FYRlPYmr6Zg5lTeRw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=fWfzJrE7sphORuASl6TcmmX437Smrp0oX51O+IHIHy5Ne1k04OqHsughWJcD1xvpJQtMMx/OEk+hCnYPnlch8xxY25Uxu/QUewX0qt/endzM3I/Psy7GwUwK/dR2gVpBqEmDpMt893sJbLkoOIdAWmNV7fw05HlKbFVxLFinjdg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=xk/9zLJs; arc=none smtp.client-ip=209.85.222.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-794ab1bafedso9615685a.3 for ; Mon, 27 May 2024 13:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716843437; x=1717448237; darn=vger.kernel.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=e8bs9EbhcdQK3rxulMupHjqyar0ItbldeLVgIYJXmjo=; b=xk/9zLJsYTdy5GboBJBk1PckN7qbHsJ28bSv94nGlbu4vNHE1KgSbbI/zHJSEO2PM2 HR59YbS+iiNv5SDz8EnHmqjsJyuDjHrNc8agtfcGqQYRkd80j5D+XIPWn9j4nNNaWcUi un4xBingd9aE2h9SQwviCLc0/eHbCWq+TfkQPbResU27InRA9/4t/3KJg0O8PAN6FwZl 6J/w3dQxyR4PS1rY7dQjGqv6Ei/QIvhaHeaChQVUQuG9w5hkJ9Vv7NRvzVkhmGJTv9uQ xJAUlQU/0c5txpRVm18n2lpuZ+VWhIBM5oU/nHLcPxNlZHyX+dKkUVSZXzSpiAvCXPUM cQ0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716843437; x=1717448237; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e8bs9EbhcdQK3rxulMupHjqyar0ItbldeLVgIYJXmjo=; b=Qi/dK8LM07jQR8jOH8xkvAYtzFvMIRxccy5PlHWqynnu7BYZSciqG2jeJU9bHvEnpu i+Ha7sdSmZrOK99nosci9vX10a6cpcvkEgQOXjLja1Nwb9PL3pXZ+QiijFYlTAZ2nVfb tZbcx1S3wPiRDvyHVls5UE+oWDtpFwrEfFsJWn9BcpPP8ykFRvY1sxMRZA4VgKV6gMy6 lcM0353SYzCFVAXrMW9zROGI8RD/HkFS+vjO8Y/Zz3wJk1NM8GoKugRzNZHcjTjv6qbW xTO+o2TFcE0/VljSZ7OcoOlQ+Z5kjWUXDAg7LOClEMRPFXTsPnGIdQw9n+/bteyH3QRo U7xw== X-Forwarded-Encrypted: i=1; AJvYcCXsa/RwQJiqDwzu9wbBqzcPKL8TH+U6kwWwj3tQs+Bpad2txeKu6VTKUC76xSk80DgeUWO4gx7wW4U1+m0hMlW3XlTI6reZfdDlJc67 X-Gm-Message-State: AOJu0YyC2mfHXbo7rdXbtpWQXVXvv1zUjds8cmfXFxyA+aYzpohy4+FY jgZ3yhdSMYoCVq4S2ljWwyYft92GE8XIFVPZye1EvQIroMww5aWCWOmAdOngSQk= X-Received: by 2002:a05:620a:4548:b0:792:e0b0:7219 with SMTP id af79cd13be357-794ab1130a1mr1438768185a.77.1716843437229; Mon, 27 May 2024 13:57:17 -0700 (PDT) Received: from xanadu (modemcable018.15-162-184.mc.videotron.ca. [184.162.15.18]) by smtp.gmail.com with ESMTPSA id af79cd13be357-794abd4406esm325258085a.128.2024.05.27.13.57.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 13:57:16 -0700 (PDT) Date: Mon, 27 May 2024 16:57:15 -0400 (EDT) From: Nicolas Pitre To: Conor Dooley cc: Julien Panis , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Lezcano , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v5 1/6] dt-bindings: thermal: mediatek: Rename thermal zone definitions for MT8186 and MT8188 In-Reply-To: <20240527-wife-dress-3ecaf1509506@spud> Message-ID: References: <20240524-mtk-thermal-mt818x-dtsi-v5-0-56f8579820e7@baylibre.com> <20240524-mtk-thermal-mt818x-dtsi-v5-1-56f8579820e7@baylibre.com> <20240524-concerned-fritter-262f5e16293e@spud> <20240524-clatter-antivirus-b1939900ee58@spud> <61a1be10-7df3-4ba7-b7b4-ccc7f0379656@baylibre.com> <20240527-wife-dress-3ecaf1509506@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Mon, 27 May 2024, Conor Dooley wrote: > On Mon, May 27, 2024 at 05:25:35PM +0200, Julien Panis wrote: > > On 5/24/24 20:27, Conor Dooley wrote: > > > On Fri, May 24, 2024 at 07:24:47PM +0100, Conor Dooley wrote: > > > > On Fri, May 24, 2024 at 11:04:34AM +0200, Julien Panis wrote: > > > > > Use thermal zone names that make more sense. > > > > > > > > > > Signed-off-by: Julien Panis > > > > Removing the defines is an ABI break. If these are all the same devices, > > > > but with more accurate naming, then keep the old defines and add new > > > > ones. However, the GPU1 define changes in the course of this patch which > > > > is more problematic. > > > > > [RFC] When PATCH 1/6 and 2/6 are squashed, checkpatch raises this WARNING: > > > > > "DT binding docs and includes should be a separate patch." That's why I > > > > > split them in this v5. The problem is that the driver can't be compiled > > > > > any more at PATCH 1/6. It needs PATCH 2/6 to be compiled. Should the > > > > > checkpatch warning be ignored here ? Should I finally squash PATCH 1/6 > > > > > and PATCH 2/6 ? > > > Heh, and there's just one of the issues caused by your ABI break... > > > > Conor, > > > > Would Russell's suggestion be acceptable for you ? > > I mean, this one: > > https://lore.kernel.org/all/ZlDMNkdE2jmFgD8B@shell.armlinux.org.uk/ > > > > I could implement it, but before submitting it I would like to make > > sure that it suits everyone. > > How's that going to work? MT8188_AP_GPU1 currently means 1, after your > series it means 2. > You're gonna need to pick a different naming for the new defines to > avoid that. Additionally, why even delete the old ones? Just define > new names with the same numbering and you don't need to worry about > any compatibility issues. Isn't this making a mountain out of a molehill here? Seriously... none of this was present in a released kernel. The naming can be adjusted "atomically" so compilation doesn't break, and it is within maintainers' discretion to bypass the checkpatch warning in such particular case. Nicolas