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 0E5FF2D028F for ; Thu, 3 Jul 2025 08:34:32 +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=n3Z1ONX5P64czjkz5VIRYqy+IwzcSUE5JMVf45OqZzc30hiozumxLEcItsaAoFS/f50qpBmXN+4Z6nCT7QWhQftz/C7RucOveriI3DvBit7+ywHKkTyx8Iwn2ysWtPgeflsI3BSiBTva7eOzBAE75c6OdQHF+AYCKCV6o4IjOAQ= 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=N267G8YY; 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="N267G8YY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1751531672; 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=N267G8YY1pPAeZ9tgt5PUXouANNDCqRcx41VmjCwBlELymFj3oyrEc7J/RaAfrhKxiP9Z8 B+fE0Jg731frN+ls8hC3pv/F1C5IsZ9kT3QV2391RNm634El1zy9GkBOmonWlsTT9paHqu gd8vBnHBiVKCk6UCltd0m4+xSPgv9ZM= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-277-iB2lJcfaPhSjmcQcgvmyIA-1; Thu, 03 Jul 2025 04:34:27 -0400 X-MC-Unique: iB2lJcfaPhSjmcQcgvmyIA-1 X-Mimecast-MFC-AGG-ID: iB2lJcfaPhSjmcQcgvmyIA_1751531667 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-ae2b7bdc8f6so76360266b.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=1751531667; x=1752136467; 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=Yj8RLafITiJYxBBqaMlkHZQZ6z+sJzphYGnpxGrPvJCLRWZkOOUaPoDmSAIbaBpe1q GfoW9MthRkT9/rJ6dcF3cug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MTP id a640c23a62f3a-ae3dcc33e3dmr202629066b.14.1751531666609; 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: linux-fbdev@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