From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9763D17996 for ; Thu, 3 Jul 2025 08:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531674; cv=none; b=ecwMcqw9h11ZibVcnUhhOPFcdxfg7Kus0gvdn3SHzgRBnLHE9Yro+wvbS3noCyp3a31GYtwPr9QxfgF47Pibka5ObPZklBZeY67QLg5MmjWnfOuyBUmVsXTVyL3/nm1n0VwC+5tCKq6vZPbjYX4u2dHJnX9NqAhXj3mDpc69VrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531674; c=relaxed/simple; bh=KiU0mOb5SXdM9IWDYReGvf6ZjDNAjg2kPIgG3hlcS6w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TownYaykYJWd0LBnfXe5qYe0tTINHEne2hd2iAumHYxLrbmmsaDI4oIeKE6ajmhY29U1C6pk2E5mzVZbCrs50iXCtRGMSPgszZEUNNWTYFvnhKaIyXdq2SHWf6tJA+3OlOBw6rvkcowaBE+zbLdQgqvSarwfVgvyM9b9zSIY3Hg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ATKq6Vsx; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ATKq6Vsx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1751531670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=221h2gTHX6oXGMnPCILS/QRTKOojZm+JGCoLjP5IEkI=; b=ATKq6Vsx3amO8nHNCqiwbzlURrO/TUE54fxLhZRohusPCAiJQr5m2vnFGdf1wf1CCgDqKF rif7iOtYYYkPFWAwZoGXX6VHlTa+AIAGFI5rJPNhEvU6i3XllpUYtdV/JHPABhrRCDnv1w MCiTHUPKveRk8gHNGgmtw2u+cdt0qUc= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-145-sMtWwWMdPX-gUjLD-OrDRg-1; Thu, 03 Jul 2025 04:34:27 -0400 X-MC-Unique: sMtWwWMdPX-gUjLD-OrDRg-1 X-Mimecast-MFC-AGG-ID: sMtWwWMdPX-gUjLD-OrDRg_1751531666 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-ae2b7bdc8f6so76359066b.1 for ; Thu, 03 Jul 2025 01:34:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751531666; x=1752136466; 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=221h2gTHX6oXGMnPCILS/QRTKOojZm+JGCoLjP5IEkI=; b=bSgsdQCs5dC9z5z77MMwa1alhKnRNLhk53y/3CKsT7T42oxfqykXdjsxkjAdGTqYP9 zxwdiYswg0QNjljVIwSRf8i6Bo6w85uDj2+S8iEgMk9fr8kJLJI6voXIY358p07phECt iXJHF76I3t5hwxkWeXMhMuMz4dJcQl/AhOcXrmqDjKedCF7xR7hD60x7j8t3rdc+ilx6 PTkWyFVTswT1dR7lH4Ka9bUvx9gTAJd7t4y9Qab2k0XFWNfI2IbWTdSdK/sD/B3PfP/9 cOl41VGmCMUgMVXc4fMy5Vp+PoQNhXMxnOzvX9h/B8NRtWdKOq6TczavtdS5G3MRaCmb 8ecg== X-Forwarded-Encrypted: i=1; AJvYcCV7zinRLxA6pkfkSX3y+6TDpeUB5B4ablecY4b+8CNevrd20FVP5b7FznsRNGD2VBDmABEN6yhAz5vW@vger.kernel.org X-Gm-Message-State: AOJu0YxAn+oOHwm8MXqGZh6h+pvEOIYYtzG8Pc6yiEFfcClnsMVkcNfu RfSsVYHfqW5CFVSLsLEFR2+aiY5ohHEBgBdCP01mqOnnrOUtKS0JfKoLceYvggOVfKaj5//v5vU oumZDjw3gQqUVxR6alaL7bhQgKakB9DemUzlhy3oahuFznuD9Ta+HQ+1EwpQvbfk= X-Gm-Gg: ASbGncvnhc1MRkW8muFR7A0RjVADR3QXTqMYa3VA8Z5OUA3Z1B8XI2ktBphI+kho6XE K8PTyadKGug8IJcSyI3IlzKKeRQ3MyuhUWoiO8YTwt+VCE1TQxoVU1GxaWY0qqs5bK2R3+HpFyr 5d732ZjFJVwTyekX3CZUkUDLej39/NscJUOq54FFdPAEjSzMWXW/eH4k5KIJsmc/z2XyMpFgnk0 OGbmxhYO4iWvLfhtkFp2saXSAu5IReHZtsCakH3601WV9CYKIinaRKy+p5sUxzD2SvLcU8X7cLR DDjfX5lcOZpIEi0skZ9cVXfQovxrO845SQ00dQWc/IIJn3eRz570+46fnG9Uf7ICRXgQFlQ1tR8 er5/cdN1z7fHKsMej/NwTfT1/vyUh1fmj9c69MK8Mwlq8el4zZ4U/KcyAe7TPUNckUoCn0MmR X-Received: by 2002:a17:907:3d8d:b0:ae0:a465:1c20 with SMTP id a640c23a62f3a-ae3dcc33e3dmr202625866b.14.1751531666073; Thu, 03 Jul 2025 01:34:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0jetECjsFXFGgQLjZYc5QGYfQzjQBHnfhAK7F+xPPGCcJzJbtB9How+LBWAWH7EYvtz0QzQ== X-Received: by 2002:a17:907:3d8d:b0:ae0:a465:1c20 with SMTP id a640c23a62f3a-ae3dcc33e3dmr202620766b.14.1751531665205; Thu, 03 Jul 2025 01:34:25 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ae353ca2ab0sm1202272966b.164.2025.07.03.01.34.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Jul 2025 01:34:24 -0700 (PDT) Message-ID: Date: Thu, 3 Jul 2025 10:34:23 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/5] dt-bindings: display: simple-framebuffer: Add interconnects property To: Thomas Zimmermann , Krzysztof Kozlowski , Luca Weiss Cc: Maarten Lankhorst , Maxime Ripard , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Javier Martinez Canillas , Helge Deller , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250623-simple-drm-fb-icc-v2-0-f69b86cd3d7d@fairphone.com> <20250623-simple-drm-fb-icc-v2-1-f69b86cd3d7d@fairphone.com> <20250627-mysterious-optimistic-bird-acaafb@krzk-bin> <1129bc60-f9cb-40be-9869-8ffa3b3c9748@kernel.org> <8a3ad930-bfb1-4531-9d34-fdf7d437f352@redhat.com> <85521ded-734d-48e8-8f76-c57739102ded@kernel.org> <6e4253dd-cd73-4302-b9df-44c8c311eb22@kernel.org> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Thomas, On 3-Jul-25 8:47 AM, Thomas Zimmermann wrote: > Hi > > Am 02.07.25 um 22:43 schrieb Krzysztof Kozlowski: >> On 30/06/2025 10:40, Hans de Goede wrote: >>>> No one asks to drop them from the driver. I only want specific front >>>> compatible which will list and constrain the properties. It is not >>>> contradictory to your statements, U-boot support, driver support. I >>>> really do not see ANY argument why this cannot follow standard DT rules. >>> So what you are saying is that you want something like: >>> >>> framebuffer0: framebuffer@1d385000 { >>>     compatible = "qcom.simple-framebuffer-sm8650-mdss", "simple-framebuffer"; >>> } >>> >>> and that the binding for qcom.simple-framebuffer-sm8650-mdss >>> can then list interconnects ? >> IMO yes (after adjusting above to coding style), but as mentioned in >> other response you can just get an ack or opinion from Rob or Conor. > > But does that work with *any* device that requires interconnects? The next such simple-framebuffer device should work out of the box *without* the kernel knowing anything about it. That's one of the key features of the simple-framebuffer.  If we have to maintainer per-device feature sets, it breaks that assumption. The driver code for this can still be generic and since the driver will bind to the fallback plain "simple-framebuffer" compatible this should also work for new platforms. The e.g. "qcom.simple-framebuffer-sm8650-mdss" compatible would purely be something in the dt-bindings to document which simplefb implementations will have interconnects and which ones will not. The driver does not necessarily need to check these more precise compatibles, it can still just check for the generic presence of interconnects. Regards, Hans