Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp597877rdb; Thu, 1 Feb 2024 19:41:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXjlpdMGMDAjhRzkUwunC4WlC84UcMi56pTphKDeK83WQAIcBB97naFagdaclG2Tp5aANL X-Received: by 2002:aa7:cf18:0:b0:55f:3f35:32c0 with SMTP id a24-20020aa7cf18000000b0055f3f3532c0mr2744411edy.4.1706845290590; Thu, 01 Feb 2024 19:41:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706845290; cv=pass; d=google.com; s=arc-20160816; b=uLs4xSd1XAJLP9xwtuQDKu6/1EH2cQCtGVgWDgpaHJjrB4YdeBndAC8M6f8LgBwXb7 KjsBySyyFH8lwuH5hq05zcuLR1rVhKXDCP5D53J/hVdy+4yMpY4pIww0pZ8no7/r1iRM PShIjkJG/oOpOwnEO6LhwLMcWpepTa2sTjm6DAXx5v7zg6wmHIYfhf+Fh/jRBd3xDUzy vA9RgwvPgP3guAm7ThIkYFaInnlC/YiSw7Dj+mPkfKEWG9hObNLK44e57yllxha+F6ok t6iBJe2oHMf831kCBW9XDpfLFcin6/lAaQWJ6Vx1gocn4NG4Ims/035S9ZvEfvh51iBx yxHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=nc9AjV9VnXvj0gElK7xS9GgGubP2FX5rhFZEjOUUl0M=; fh=EXtqDfVypGdaFamTeFJARpkOdFs1sZPxoLzGA41aqGI=; b=z9hq9qHkHxC9PJhZGMQpd7zrk77pnz3mrjKIIc+b0u46mlYVt4EpIT9DemrpExSGX3 +gaOfLc/DUqzjuxzfkU3Jjhm7LdOJgg8XMAIYbDy2u6hdt6yC9gJ/kMNjMX/TcWerpJA /vaZ6f0amPu2cV+xluI707ACCYhmUZPqUCIXIyk25KNbsePgQmOlHOyOsbmhEqwOw/Xq 8+/gGZYLxgHLTd+Y/a4fs9EQswlbf9rWcFGKr/yzABie5B/S5XtnKUknGzdoOznQARo8 sIHY9GZSI+ObDxSkZMp4fDicc263uadReIbaIm40OKN78FzH7K2SHirj4WF9615qoOPM B5+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Og48ixHF; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-48950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=1; AJvYcCU8ay8zGbRGWIP6nweqOPTDQz2L5O2q4oTUNWMbQiuk7hs/o1XXZpdbNP1bTmv8kPGJiHDa8U2yVR2ssAkhF9q906vDJEQ6ny7FbsVl3w== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s13-20020a508d0d000000b0055c2dd404d3si429792eds.195.2024.02.01.19.41.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 19:41:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Og48ixHF; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-48950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 62E1A1F266E7 for ; Thu, 1 Feb 2024 22:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F24741232; Thu, 1 Feb 2024 22:36:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="Og48ixHF" Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (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 9B0F23FB1D for ; Thu, 1 Feb 2024 22:36:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706826988; cv=none; b=GVH+tiZdwAhS6ZGijiwxD4PkLUx12XafL0v2Z98GJBAQl9iBJ67iQHsPvjpygFyNV4QIvf4NUjjDirE58u8hXAYB0kBnWxOIBQADPXZwtjotemvdtXpBTPCPXhFxHc+9wl8CNkV+iu4q7DO1HNAGDMARS5JX2XuwBZuPEAYuIjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706826988; c=relaxed/simple; bh=HnuzGK7KwPL9dQj1488YDbBiMjld8nQKlTrfaJ0vMdo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HzjHTajt7vENBJkEtI/qUodjjZ6egCthGtfxPX1fXllaBdYfhqaGqWQljjc8YJOwxEqs+SgsoVb2FbOcXLWxwxoxZr82EXInaOnh6lYF9W2z6P71DSUJk6+nuTeN3QcZ84I8blr0r/zXArTXky6toSYzzsInM6bP8idCsV8SbWc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=Og48ixHF; arc=none smtp.client-ip=209.85.215.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-55b5a37acb6so350526a12.0 for ; Thu, 01 Feb 2024 14:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1706826985; x=1707431785; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nc9AjV9VnXvj0gElK7xS9GgGubP2FX5rhFZEjOUUl0M=; b=Og48ixHFzxN1HBPoIPKDvjc3yegFHVWVHWGzvHBQ0oiMmFZH8tbaC5/A/9AM7OA4eu iZeYHtcvr5kytlZeCuX+E3lWSuMv4YhtboM4G4JzE6CkDU1rKJHcU1M2lp9BO2VP6vyw wQZgfDHz567UZIe979z+85hzW2SXWO7IMfUII= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706826985; x=1707431785; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nc9AjV9VnXvj0gElK7xS9GgGubP2FX5rhFZEjOUUl0M=; b=ee5WP2k7i6qnbrSsbKExnFm23+0+RUVHl/czDL0OVBj7gnaSgzCGkefXWSK+eof977 osMmb5pjt1rNGlQw/DsuL/8dcTsJVS6zUPfr13i4ELtTVFzLExkWapTaXUmxwFLLyWE1 ZoeOx8DCd96mkd/vtFa6n9BC4eFHCyQJKkZhFA6vjKO3k+Dqw7Es4RIleVeKzAnO7ZZP M+itUSgrifeeD/KGyWYgIjlU+Lo6PcdZytQ6qAhyRo//imoi2q9fIWkpuowNvuyT/zbK CG9lFkfK7uS52pkHGCHP8MIlDvLSgZwl5/Wp4sUHddUOXBYRJqDWgJR6S5Cn75317hy7 sJYQ== X-Forwarded-Encrypted: i=0; AJvYcCVw8oXQidvmwxqKImBrB077Z+NIDKQ+VQRcXFneFn91aAekJ0Jh5Qr1UkIwCgL67xtxDAA6A1hlPd2TDuTHXbbuEMhhSekJ86Ualqn+ X-Gm-Message-State: AOJu0Yx82HHQmV6SCXgaI5ad4FQ7S65bbUOuh75iHDg9hMvPOdP9asNv YIbYhCXpLp0puZv0rWCwCOjg4lgfQmTsKblkDa0d8ycBort5wNhpNmhHpFUaPUfWjWrs3VjR99H rjym05e+s1HKMNoaQNJF0UbF0K3q9WcXz730Q5iKVmbjoVZT1zA== X-Received: by 2002:a05:6a20:7486:b0:19e:3462:b7be with SMTP id p6-20020a056a20748600b0019e3462b7bemr4210398pzd.4.1706826984744; Thu, 01 Feb 2024 14:36:24 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240119215231.758844-1-mmayer@broadcom.com> <20240119215231.758844-4-mmayer@broadcom.com> In-Reply-To: From: Markus Mayer Date: Thu, 1 Feb 2024 14:36:13 -0800 Message-ID: Subject: Re: [PATCH v2 3/5] dt-bindings: memory: additional compatible strings for Broadcom DPFE To: Krzysztof Kozlowski Cc: Florian Fainelli , Rob Herring , Conor Dooley , Linux ARM Kernel List , Device Tree Mailing List , Linux Kernel Content-Type: text/plain; charset="UTF-8" On Tue, 23 Jan 2024 at 13:27, Krzysztof Kozlowski wrote: > > On 19/01/2024 22:52, Markus Mayer wrote: > > Add versioned compatible strings for Broadcom DPFE. These take the form > > brcm,dpfe-cpu-v where is a number from 1 to 4. > > > > The chip-specific strings have been kept for compatibility purposes > > (hardware is in the field). For new chips, the properly versioned > > compatible string should be used. > > > > Signed-off-by: Markus Mayer > > --- > > .../memory-controllers/brcm,dpfe-cpu.yaml | 21 ++++++++++++++++++- > > 1 file changed, 20 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.yaml b/Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.yaml > > index 3f00bc2fd3ec..42c8160d95d1 100644 > > --- a/Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.yaml > > +++ b/Documentation/devicetree/bindings/memory-controllers/brcm,dpfe-cpu.yaml > > @@ -10,9 +10,28 @@ maintainers: > > - Krzysztof Kozlowski > > - Markus Mayer > > > > +description: | > > + > > Drop blank line. Will do. > > + The DCPU (DDR PHY Front End CPU) interfaces directly with the DDR PHY > > + chip on Broadcom STB SoCs. An API exists for other agents to retrieve > > + or set certain DDR PHY chip parameters by JEDEC. > > + > > + Different, incompatible versions of this API have been created over > > + time. The API has changed for the some chips as development progressed > > + and features were added or changed. > > + > > + We rely on the boot firmware (which already knows the API version > > + required) to populate Device Tree with the corresponding compatible > > + string. > > + > > properties: > > compatible: > > items: > > + - enum: > > + - brcm,dpfe-cpu-v1 > > + - brcm,dpfe-cpu-v2 > > + - brcm,dpfe-cpu-v3 > > + - brcm,dpfe-cpu-v4 > > I don't see my comment resolved - except more unusual order of > compatibles - and nothing in commit msg explains my previous concerns. I am confused. What about ordering them in alphabetically ascending order is unusual? Which concerns, specifically, are you referencing? I promise I am not deliberately ignoring concerns as there would be no point in doing so. I have nothing to gain from it. I am trying to get code accepted into the kernel. I am not trying to "win any battles" or "prove that I can be more stubborn" or anything of that nature. If it is possible to integrate concerns raised by the maintainer, I will gladly do so. And if not, I'd like to find a way that works for both sides. BTW, I once used to be on the Linaro Landing Team for Broadcom. You'll find some commits from me in the kernel that carry a linaro.org e-mail address. Most are from over a decade ago. Yikes, time flies! The reason I am mentioning this is to point out that * I am not new to this. * I am respecting the Open Source community and so is the rest of the team. * We are trying to do the right thing and be "good citizens". * We upstream whatever we can to the relevant project, not just the kernel. * We aren't on some kind of power-trip or unwilling to listen to feedback. I am not saying this because I think any of the above makes me special or particularly accomplished. However, I do think that some things may need to be clarified as there does seem to be a certain attitude at play here, with certain assumptions, that is far from constructive. Hopefully, this has now been cleared up, and we can move forward with addressing the outstanding concerns regarding our DPFE compatible strings. > I think my final comment was pretty clear yet ignored completely. There > was no follow up: > https://lore.kernel.org/all/3fff866f-fbe8-4d23-87f3-275380adf3d4@linaro.org/ Unfortunately, it may not be as clear as you think. I did my best to incorporate what I thought you meant. Clearly that didn't work out so well. So, please clarify in more detail, and maybe showing some examples, what it is you would like to see. For instance, I have no idea what "(e.g. bcm7271 + v1 + generic fallback)" is actually supposed to mean. Is that shorthand for 3 compatible strings (brcm,bcm7271-dpfe-cpu, brcm,dpfe-cpu-v1, brcm,dpfe-cpu). If so, how is that different from what we already had? > so with ignored comments: NAK Like I said before, it is not clear to me what you are looking for. I'll gladly address any concerns as much as possible. Regards, -Markus