Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp469320rdh; Wed, 14 Feb 2024 02:19:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVcT4nHQYwMVto9xQSPtVy2Cx0GrsLdT72jV4wRvNkm13TJlEtyGdg5v4/G6eV6AFAOL1Fks8m0VZy9T9vbDIumnwoOgJBMXltVgmm1Jw== X-Google-Smtp-Source: AGHT+IEHbZx0aZZjAlwaLciDLNUNXtz1q9nlobJB/XJcNpkMKcM/2wboNK/Pmfuq4wAxzEByFphl X-Received: by 2002:a05:6358:4403:b0:17a:ed6c:3f0f with SMTP id z3-20020a056358440300b0017aed6c3f0fmr1898318rwc.22.1707905966202; Wed, 14 Feb 2024 02:19:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707905966; cv=pass; d=google.com; s=arc-20160816; b=oFtMsYQvu/Futr0UKrzzSDSYm4R47XZWRQG8eSqCjt2WYoU9t/WisFkT8tQbt0OQI6 82g22TZ5XgFbDRYfRQCXRCfsvuGCfX/4+HxmkfKyDBI8rIqRBF2dYziVwAjtgkE73Xrs Q9Wx6ahBFcfiHFrY56FoDbt2KTX1Mt7ab/pXBnOmwmmqyA6d1vr2+YK9of70UtgQw0XE BIUsk+tQUyK3v+Jxf0l9qoCswFYJILe0V4mjjxbn3Q9YRd9GtfEtKg0VYnoVzP8xqDSl AL6vRqJh+6OeofZPmUM8dBdG6CZAiM9Whmm3IPlPJRAlapGlIijcyDtFDixl6zZBm3Be 1+mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=OLRj1mFJpl+9yLnpvglaJFB5v6n1ThidnnLPgjLs0yo=; fh=w0mNbz1tyi08dePcCxcWG5maVKyGUNU0LlcrmtT0HbY=; b=rHWWxhJOA3Of1cLuNLl+4zPyJqamCpnrgYtru7yAHq+lPCosn5s1U1suiKcb0SeTJP vm4RfA7+CFDIEL1RTUL6KQLfanFctbAepdTPJEs2bug7Ey/IJQq4+zdqWD2ouAu5lJ8q XPH849sDjAGYFyWUhoJTgPriTz7+grocfkkn8t3CIV6nC2PmpGRRWIikqL8OomqFFGj6 z0UmsHZP4P1YGFb66CCtJmN8G4m716KVQrn4pOjvDlpJt3M0m08zxEqfnyc68FFm3ipQ VKeDrmaEBiHhGZOmlB6WLPtYrPjgIldtkX2EqMb33+W+cfA8Y9og/UrK2BL0DOsHCf9B NwKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WCVnLR+2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-65035-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCV90MRqH8SfMKyORs4j+KK8M7Ni+d1VXgvIrRJIDXUExLrj2l7TQa/v+KaQilVMeQ/GU+hzXd+8xJwRvJhMP3BjBWRnoEjnjUzsTcRzqw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id dq16-20020a056a020f9000b005dc9c8e7093si292775pgb.756.2024.02.14.02.19.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:19:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65035-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WCVnLR+2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-65035-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CFB1F28E990 for ; Wed, 14 Feb 2024 10:19:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4450F1755E; Wed, 14 Feb 2024 10:19:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WCVnLR+2" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 AD5D914ABC; Wed, 14 Feb 2024 10:19:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707905956; cv=none; b=jZunKASwtoRTICN0DoototlDcQL6NqmjSjAOnvY9qun6N+3jKbhtK6hdHBRB000/DI0lbXMhhXryXcJIa+KSbfdHQOQPvQ+eEKDz/zWFpyAXmnyLgmSSnTuz8LesBk5IOBVC23LoQnpeRuOw1iWRZdsqoJN3LcqnP1llv7tfCjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707905956; c=relaxed/simple; bh=dXM4ltp9m0nlbbTajOk7i5VsfwfQ7oRilD4YzJbboQ0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rRU//azmS2g17vDFU1rTtJL0WTioqRUizU0VeCus+7158IdxL6zpO+WPpXaJwjr0wt3k0t9M0v7c+pUbjHxoRVx6UhGs4iGbzOsPMVlmhzhKDRx0mLlCkaqMeNCGFuJ2q1xUoB7b2DwF89Eq60vX+f40yhMYALeZq3ooerTzzcQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WCVnLR+2; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a3d2cce1126so112323866b.2; Wed, 14 Feb 2024 02:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707905953; x=1708510753; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OLRj1mFJpl+9yLnpvglaJFB5v6n1ThidnnLPgjLs0yo=; b=WCVnLR+2sS3d6FzMgTflTqFZwaB+QSyrWmmzmu+hVLXAlJwmcaK+b4eVigowanU6Rv LWvtss9ftURJ2+p9c85KCuLqTf6YoqrVsIlTuoV/rLpGp4ctHaMxE0Sp/D7MhdxTShxg 7ySO8r0zuRZZKIG3rvvaIFEVaKZxQOZpeC1GM35yKIgBG3oADGZWIlIxF18mR1Dp6HrS OrU5YtmFmSU73mzgrmzvvhQ83zFmHDwSF9shoNS4E8ECuCuQgGqbzUKWNbka+EIuRxW6 YZj7+N+yy3ZIT/+mqfyLIlzEDCzLojQr46c27olpwpslA46qDYp6PE7cVrZ8P1FIhg4B udYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707905953; x=1708510753; h=content-transfer-encoding:in-reply-to:from:content-language :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=OLRj1mFJpl+9yLnpvglaJFB5v6n1ThidnnLPgjLs0yo=; b=LuNO5sLagB64QHQ5oTkzbsu8rTfyd+VLrbdYR88EAg2f1bb+ihD61U1Wt5EJvZJGwT Mx9gLxp5k1DuBjEmJy4Z/ybQSaL1tXa1lfRB5Ruk39sADjLydKUAHAjpTsCjr+1K3WWE Bb6j/Zkioft8sTjO0N3wEs2FCUyDkZLdkX/nWzT6HnzMuZYJH/0JVrsupM/V2eQJshGI NvHlZRz2gXqmObgY3E/jPgZ8eIOQkCBjAiRhQtlze42AmKj/YxZcJ2bA4+rJdMfTHLXg hYKOUmEfw+1InzmJHuihibY99C3qBMUBoiPOc9y0lkQsu+6zklLMTPm95Oj8cfvd5CyJ Ht7w== X-Forwarded-Encrypted: i=1; AJvYcCWjYH1WxGoCn1SjCMjkgXAI7z2BQ259A/6z/JpPyXBiyqjtYp8+DzjMX7cdOrblIS4g/hLtFgT6WxcmW0rP22w5DoIg/46e6dE488PWS3BLE4WAYtUC2yQmQNvy4bLn81+uNU4vgy9A4vokLiy7csUi+4ijDsQQhmqwR7OiyKnbRZ3YtA== X-Gm-Message-State: AOJu0YxOI7TvhBYPcyEtyDwlQ0dqprZCNdDHRyz01WbzwfvVKsFbbKq6 Wxta5mgRxICWzg0QQteewc+AS/innGmpQTwh41rdi3w+8+AVx3DG X-Received: by 2002:a17:906:4f0a:b0:a3d:607b:a280 with SMTP id t10-20020a1709064f0a00b00a3d607ba280mr349986eju.59.1707905952758; Wed, 14 Feb 2024 02:19:12 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWOAx91eFcQOTulUqIbqfn4LyXCdEoTcC5Pncl3OX9Nh3Y4eCJSvYtv4fepI/t678chIot8cgWsOLyFXrLQqAOPHDpxX9Q/nqSucOiEXT7CQKSy9KVdZwTjtiSTBdA2puJ9YkN8pBi3EorRj/RBhLKdvQd8kvz+VSNzweM93AqP22Mv8Gz84kGcz/YfhKS2bWfYr13nQTskzh6dlIyq6HlMLvC/3KZDfE6rQ6hRInA2DUOBjUkAW+F4HVTPHb14OxJb0MBD2M80EendauhuZgrosIyicqRZDtL/f5eBVFVJMzqNAoNcH9/a55tMn/fh+0V+apL6py8P0xZKZSXz7Nn1eQf+0HlIC1PrjuFnViUzZh70KdJcgz1T8G2nW0goknTQQ4U9lCGW5Gcb0edyC1RcOSbiZeM/0XWmlVRijqqh9nAH3y5v086utpkgcKpnG6uVV/wbaneG4v+iCYsib1NRjBrkYcNaYUDw5W0prtE= Received: from [192.168.26.149] (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.googlemail.com with ESMTPSA id hw20-20020a170907a0d400b00a3cf243de37sm1738164ejc.111.2024.02.14.02.19.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 02:19:12 -0800 (PST) Message-ID: Date: Wed, 14 Feb 2024 11:19:10 +0100 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 1/2] dt-bindings: pwm: mediatek,mt2712: add compatible for MT7988 To: Conor Dooley , AngeloGioacchino Del Regno Cc: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , John Crispin , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= References: <20240213164633.25447-1-zajec5@gmail.com> <20240213-resource-evaluator-0754cfd5882d@spud> <20240214-reversion-arguably-37bbee9caf78@spud> Content-Language: en-US From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= In-Reply-To: <20240214-reversion-arguably-37bbee9caf78@spud> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 14.02.2024 11:06, Conor Dooley wrote: > On Wed, Feb 14, 2024 at 10:27:54AM +0100, AngeloGioacchino Del Regno wrote: >> Il 14/02/24 07:34, Rafał Miłecki ha scritto: >>> On 13.02.2024 19:18, Conor Dooley wrote: >>>> On Tue, Feb 13, 2024 at 05:46:32PM +0100, Rafał Miłecki wrote: >>>>> From: Rafał Miłecki >>>>> >>>>> MT7988 has on-SoC controller that can control up to 8 PWMs. >>>> >>>> I see a binding and a dts patch, but no driver patch, how come? >>> >>> I believe that to avoid cross-trees patchsets (which are sometimes >>> tricky for maintainers) there are two ways of submiting such changes: >>> 1. dt-binding + driver; then (separately) DTS >>> 2. dt-binding + DTS; then (separately) driver >>> >>> I chose later in this case as my personal priority right now is to deal >>> with all MediaTek DTS files. >>> >>> Is that wrong or unacceptable? >>> >> >> It's not wrong but it's partially unacceptable, at least on my side. > >> I want to put emphasis on sending the binding with the driver, as this allows >> for a better review on everyone's side because we do see the full picture and >> we can give better advices: in this case, I'm not sure whether adding a new >> compatible for MT7988 in an enum is a good idea, as the compatible string may >> be shared with one of the *eleven* SoCs that are supported in the PWM driver, >> meaning that (hardware speaking!) the PWM controller in 7988 might be the same >> as the one in mt1234. > > Re-ordering to make my reply make more sense... > >> In my opinion (and I believe many do agree with me), sending the binding along >> with the driver is the right choice, and if you also want to include the dts >> that is also appreciated: series can go through multiple maintainers applying >> subsets - it's ok to do. > > Ye, either of those two makes my life a lot easier. I can then at least > go and check the driver patch to see if things match up. In this case, I > would want to check that the driver requires changes to support this > device, given the commit message mentions nothing about the difference > between this device and others. I'd still probably request that the > commit message be improved to explain the lack of a fallback, but at > least I would be clear about what I want and could provide a conditional > Ack. > > If you're not sending the bindings patch with the driver, there's an > extra onus on you to explain exactly what makes this device incompatible > with the other devices in the enum, although in an ideal world it'd make > no difference and every bindings patch would contain that information. I understand, thanks guys for discussing this with me. I'll send V2 with Linux driver part. >>> >>>> Also, what makes this incompatibly different with the other devices in >>>> the binding, like the 8183? >>> >>> It can control 8 PWMs unlike any other SoC block except for MT2712. >>> It uses different registers than MT2712 thought. > > Put this information in your commit message next time :) > > Cheers, > Conor.