Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp819587lqt; Tue, 19 Mar 2024 05:07:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVn7Bmj00YKtokrpfzqD5JKvIKMnygW/EHa5hg9h2Iu9i06UeG0AVcivOA/MUYVbaLBSFJrsZP+AaVIpvgxtraraM3Uf3iRbv73cIlmhw== X-Google-Smtp-Source: AGHT+IEvKy6W6KIuqUnN7ycoJkzXehv+aD06Ri+gDItyDAmG66rCJPHs+I4htJIFlXvWMaNnl0TS X-Received: by 2002:a05:6512:312f:b0:513:572f:88f1 with SMTP id p15-20020a056512312f00b00513572f88f1mr7349050lfd.27.1710850061107; Tue, 19 Mar 2024 05:07:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710850061; cv=pass; d=google.com; s=arc-20160816; b=BiF5A3ZojfVpMyLilxNA4Q9CTdhCGuUEkC3w2PnUQsUwJX7a+FypB08ZuzEsw8FsqG CnXVyP4qxy1Grja/BWuPZ6xFN4HSEOnZulwlp4g3MZCHF2ACBGx0+6m0aQTAq0ajq9Yx kFz1qj+hNHlMWNKK6YTIB9RS2yWVA2YVHxQYHe4icZODI7SeHLaKhJDH4C6FmQt7xeV3 aVH/GETAhtNgh/15CBcS6Q4CfD5wAolUbMwnZ351r/CnA0SWTHV/p0mCk0sA1LvzRV1e OxKNXOMcY7jqSGwcE+pw1ywFs+KYgUpcJgaQRP9MlunUOX6XdM/CnCkjV+uuhPbSpyH3 PFnw== 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=rX6FqjYsTmcxI0CafXHHy/zN0bbe59i8Tv6Xmz/oP5o=; fh=8EDdiiBl9PTxdvQpBvy+x58p4Xk5ZyAcouzh+t9m7Fc=; b=f8C13Pf6SNwVSj2KNawPC/EtMk4Dcgpul4sjXBI/ewibttTqxowAoZ7+egPJpyiGGK j+9HW0+E4Yd9R3dYi1LWvAyYfksyx8ErUpXDiwtbfSjpngYl1uhox7KoV564IreQ5LKe M+jkmBId+KZ+jCMK+APJc/HkPit7bNaNy/h8waXzdtr4378bO5cR24MBo1Z93KMetk0p 8SdUDWaMANVyJNYBBb1YBnOzO1XL8w3EahkdTo6eRqszIWXCa/gp5JU3020meQFy+utb koz9ZWptgGDVhOXFovKdvXt67ITelBkFIXcrAUKmeifQV5DDpyivxjxwM6mrDz5zoyAA zLkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@raspberrypi.com header.s=google header.b=XDfc9lPR; arc=pass (i=1 spf=pass spfdomain=raspberrypi.com dkim=pass dkdomain=raspberrypi.com dmarc=pass fromdomain=raspberrypi.com); spf=pass (google.com: domain of linux-kernel+bounces-107500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=raspberrypi.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ho40-20020a1709070ea800b00a46534c2dc2si5355524ejc.289.2024.03.19.05.07.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 05:07:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@raspberrypi.com header.s=google header.b=XDfc9lPR; arc=pass (i=1 spf=pass spfdomain=raspberrypi.com dkim=pass dkdomain=raspberrypi.com dmarc=pass fromdomain=raspberrypi.com); spf=pass (google.com: domain of linux-kernel+bounces-107500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=raspberrypi.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 D04991F2349E for ; Tue, 19 Mar 2024 12:07:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56D3C7F499; Tue, 19 Mar 2024 12:07:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="XDfc9lPR" Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) (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 8CB207F486 for ; Tue, 19 Mar 2024 12:07:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710850053; cv=none; b=uuk4SmCWmjS1rRj05EQwRieBRpRs12nbXdHSdrIjkhU4aW/DjZUKFSrEqPs/Rsgw0lAefBWAmCiWlehCoLgmtvuQwVXowhrgg5gjI6jzW/CYNH7bZYXwovozELcj5VQo2r7kFFqpUt/CMUDfWFi1XBTMl25IL05v3m2bDNBfjmI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710850053; c=relaxed/simple; bh=GChbCays4BH4ubocYsYyR4dSDch4TnJ+QJ+nvoABbAY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tYF40YUpl/FCJsN8DGn+y1cfQGdXKUHo6w8IAdfC4XRKFCUpJ8kLBNRix5vDGX2yecazayi8JlOK51iqZPR2DCFZlKgg8ixBaFtbesBWYkmvnNTeJYdSAUVB0Hf22oNZnWYo30vWVOzzZit8PK0QgyePcnnizq/raAUarOH0msE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=raspberrypi.com; spf=pass smtp.mailfrom=raspberrypi.com; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b=XDfc9lPR; arc=none smtp.client-ip=209.85.128.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=raspberrypi.com Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-60a0a1bd04eso57301087b3.1 for ; Tue, 19 Mar 2024 05:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1710850050; x=1711454850; 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=rX6FqjYsTmcxI0CafXHHy/zN0bbe59i8Tv6Xmz/oP5o=; b=XDfc9lPRkPXNSE2YtbXONwBIVVBXuwOEbz5XOt0JuWFaZ2va+NUwsmDusZco1pDRZ0 gcfVWVPGQgHxVM0F49k9qUKryKoT/HRf+/mo+cUmnkoNYpq/+TYAlp4UWcQMP6aDXgKV c1xT41F9Uiicc5iEivFdvUTZ5asxPywmsZWpD//VKqnfTO34RIzY87qxQzVXlwNB2Q5s Yoofdl+ckPGU+U7sB6mfbdACrUR1JE9nr/Pz0T2wrn0d8mrs69c9MWSGYFGKnxBTRkzc NC39A1XiT5P+4+l08PwWMTn7s+FdTtyvpJ2SJgz5vBkDNYMFACIvsSPywGm+e6OH22TI v/Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710850050; x=1711454850; 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=rX6FqjYsTmcxI0CafXHHy/zN0bbe59i8Tv6Xmz/oP5o=; b=MoEUozdrIiFkvMftHMOxMysHpCb5kyEwrMBl7shPfPOprQ3BKsMc3dVo8ppNCNPUly ULEJGTL41Y5vWBbaR7ENe1lBRuzVS3f1gMILitoMYO67H9ivRFqq9GZQ+y5kK130j4zt bwKrReyq8A6qgSHwXkMTubaDEIvKW5UCz1n/xGZaSMZCXB4h+udVwNswmW/g1bSvMKL0 DnzymNYC61EZ8TcwGgs5f7c5lnTwSOoZN4ToZIgNERkzayDpfBDkQ+757sKVKL+k0qot 0P7+qSe7cVX+v7kjWv3WOkEW8MsnHYOR3Rg9Lidwe75DtJ42VFslelHykCfq4dBnBDCF yf5w== X-Forwarded-Encrypted: i=1; AJvYcCU6dVgYPd3WRI9tDSgPl9E3o2ygc2d3Qq3dUDZlw2NUvPhlyC8jJYWtCd+B5iNeVubWvDhe62vuMCCu4Ibc+h6tHXcQFJNpplTQhtD/ X-Gm-Message-State: AOJu0YzA+gvwpni1iELKCqieICVigqKskrJ3/HUZHnYI/y/ZSw3FliUO VT60vaI2W3PPvHFWJ0br625ezh0HyRd4RKBvAo9abel9jyhXlUWvli6uG3sY60QKRTrWftUjZdI cYILy2rdc/uxRNYmha/26KVDyuilzruK9qW05JQ== X-Received: by 2002:a05:690c:2a8d:b0:610:e1df:a2fe with SMTP id ek13-20020a05690c2a8d00b00610e1dfa2femr1616124ywb.0.1710850050588; Tue, 19 Mar 2024 05:07:30 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240318-rp1-cfe-v1-0-ac6d960ff22d@ideasonboard.com> <20240318-rp1-cfe-v1-2-ac6d960ff22d@ideasonboard.com> <30430e0e-70de-4831-97ad-974e350a2e54@ideasonboard.com> <5ca1d005-1beb-47ec-943a-9358ae3c6704@linaro.org> In-Reply-To: <5ca1d005-1beb-47ec-943a-9358ae3c6704@linaro.org> From: Naushir Patuck Date: Tue, 19 Mar 2024 12:06:54 +0000 Message-ID: Subject: Re: [PATCH 2/4] dt-bindings: media: Add bindings for raspberrypi,rp1-cfe To: Krzysztof Kozlowski Cc: Tomi Valkeinen , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Laurent Pinchart , Sakari Ailus , Jacopo Mondi , Kieran Bingham , Mauro Carvalho Chehab , Raspberry Pi Kernel Maintenance , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list Content-Type: text/plain; charset="UTF-8" Hi, On Tue, 19 Mar 2024 at 09:32, Krzysztof Kozlowski wrote: > > On 19/03/2024 08:00, Tomi Valkeinen wrote: > > On 19/03/2024 08:48, Tomi Valkeinen wrote: > >> On 19/03/2024 08:23, Krzysztof Kozlowski wrote: > >>> On 18/03/2024 16:49, Tomi Valkeinen wrote: > >>>> Add DT bindings for raspberrypi,rp1-cfe. > >>>> > >>>> Signed-off-by: Tomi Valkeinen > >>>> --- > >>>> .../bindings/media/raspberrypi,rp1-cfe.yaml | 103 > >>>> +++++++++++++++++++++ > >>>> 1 file changed, 103 insertions(+) > >>>> > >>>> diff --git > >>>> a/Documentation/devicetree/bindings/media/raspberrypi,rp1-cfe.yaml > >>>> b/Documentation/devicetree/bindings/media/raspberrypi,rp1-cfe.yaml > >>>> new file mode 100644 > >>>> index 000000000000..7b2beeaaab0e > >>>> --- /dev/null > >>>> +++ b/Documentation/devicetree/bindings/media/raspberrypi,rp1-cfe.yaml > >>>> @@ -0,0 +1,103 @@ > >>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > >>>> +%YAML 1.2 > >>>> +--- > >>>> +$id: http://devicetree.org/schemas/media/raspberrypi,rp1-cfe.yaml# > >>> > >>> Use compatible as filename. > >> > >> Ah, indeed. I changed the compatible quite late, adding the "rpi5" as > >> versioning, and missed changing the file name. > >> > >> I'll rename. > > > > Actually, maybe it's better to have two compatibles, > > "raspberrypi,rp1-cfe" as the generic one, and "raspberrypi,rpi5-rp1-cfe" > > (or something similar) for RaspberryPi 5. > > > > And I'm not sure if the "rp1" part is relevant there, would > > "raspberrypi,cfe" be just as fine? Naush? > > See writing bindings. Compatibles should be SoC specific. In some cases > generic fallbacks make sense, in some note. But don't just choose > "generic fallback" because you want. Provide rationale. If the compatible is SoC specific, I suppose "raspberrypi,rp1-cfe" would be the correct string. Naush > > Best regards, > Krzysztof >