Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2452544rdb; Wed, 21 Feb 2024 08:05:54 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXAYt6FcESMw8bSGyq+V0PJ4qJm7VgXvhSUNUKtLN54oNbLZ34uNAfQv6GJ40cXGAQQx9wmfn9dqO7T8fPqIhjeoA//d3bmXnZ214+iLA== X-Google-Smtp-Source: AGHT+IETbbVIBK5F90EVtL3OO9X064k2+Ifza8qqORzthFQgPnKr466Lj8vLjN3TPPXTUIf+kQMA X-Received: by 2002:a05:6214:2509:b0:68f:8587:205e with SMTP id gf9-20020a056214250900b0068f8587205emr8958848qvb.5.1708531554540; Wed, 21 Feb 2024 08:05:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708531554; cv=pass; d=google.com; s=arc-20160816; b=gRuRgMnfRoSYC7e7Ralk47T1fTmnBzen3um4zUYX5Jx0fk8+VQT8ORFYhOZyKofV3p R8sz8w3O7YgPjWQ3wUG2ktmVKUn/DjuMc/SVE3emWl27bm2XNm2OHHTKdPHUuN2jI0XU CCVP6GzZ+Uvi8qvqBVMRp1zITI6khUdZwXq5Txd9m22GUwEI1JnODNZ0sCOfPdq3ffUf 6BVumoN4gVhU8YxGRs/DJKgafMMLikdyN/tS12LfMbKMK9llqqDoFxCeZtwS0DB9AREa IsGcUgP53+HIac2bAGEmqYGc3YOB96u50uAXCkczX+ZvM3/q1NMZbJhx7oUeZb80tMoS spdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:date:dkim-signature; bh=uJcFO/xGgbOVSQxGadPSKw44B07ENxOsKQVgT1VUOcI=; fh=ZWm9dIyWAAuoEQU1S8x2DOfCzFql41ZAEIJiXM6jFtc=; b=PZ8VI4N3r0KzlEnbHKr+7CowPSb6IqKGuO1xKx0Cud9Rtdc74cxY5wMlOUU9eEDVoJ yJ+c0Dv2p9hdL+UHChbfAwNJbeM/3yy3RHJZZiuvirv0flefZr3gym+TjjiPPAv1ZcWn OtnMX2QsaoWxzw1/3fZJ7/B1ufWKJ90U46CVknhI44dQtLnMl8lNIDQTy0yf/LlP9jJz +duIRMh0fGRYkbS9UXZSjgv1Cqv5PL5Ks7EWn1RlMmuLomNUb7tel2yChzokL0C4D+CL Q+bcrxtm52oj0GlpnenLCVXWjpgwAet+ooC5j8Dx7+Sv5/FTBxlKmc7+4OEPydLWc1Fr K4jQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=exOr2bH6; arc=pass (i=1 spf=pass spfdomain=flex--panikiel.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-75072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gh7-20020a05621429c700b0068f632a4411si7591617qvb.457.2024.02.21.08.05.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 08:05:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=exOr2bH6; arc=pass (i=1 spf=pass spfdomain=flex--panikiel.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-75072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EA21A1C21399 for ; Wed, 21 Feb 2024 16:05:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43B8685273; Wed, 21 Feb 2024 16:02:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="exOr2bH6" Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (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 8173485277 for ; Wed, 21 Feb 2024 16:02:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708531373; cv=none; b=TryGiQ5k6QgBH3flW05qlKl+Z8xte0FdhXikmFh31iBJ4665tkqnvW8HhpL/SNk4qG3IbN5GpExWHpu0nTEPrMKKqWvxCVMsH5R1Yj4MFINOS8OWlo/kD6exrD93Seguo6SzRZV5pu65azHP5mzly7w7bPO101xmgPrgOo0zi3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708531373; c=relaxed/simple; bh=xjBdKRP1SvS/TeZ2e8wCD9zf/HvE8sljbpOrt35UqzQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Q6Kg2GIHU9TZRrnTc+sy3r0oOVFjdwq7NsfS4qR2WeI80uIZuvHlYyyWQog95gs3CyMCCp+kb/kcpr8V2FU4Anf3eXJbirvmR0BucDodqJ/Gcey404jbn5DZ88cmigP71jh/Dk1Uq3DmF8rRrhd6nA0xb/vnJiGplmrW+vf4bdA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--panikiel.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=exOr2bH6; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--panikiel.bounces.google.com Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-40e53200380so3967655e9.3 for ; Wed, 21 Feb 2024 08:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708531370; x=1709136170; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=uJcFO/xGgbOVSQxGadPSKw44B07ENxOsKQVgT1VUOcI=; b=exOr2bH6x2epR+DcORNM3n5xYR1si8HSjMd9vbTua875WW4MlrW2zk8btZOs0VZEpw ORVA08cbTDsmGgc4kysGK+5Cee4QH0tk7T9cPyScHWJ4wrHoi+W2waDgfPdrWhCrwNaq y3O7py+ErbvFcs0HremU85xjfdiFCTWCkVvGtRSStSCE9tESEh0lemoG0jHDqe6zmm/q qMyBtGJC9JbE1AIXfnLbEBySPSdsAOyeP/sdCxR7IaolgmmO4D1SVF+MKOsNtecgAaco N9IRCHjbTtITbLJRyXRnbNdoYEZsk4c3QD1sOZ/DypDSAVwYdEGcz7wDyc0jm+pEKWcH AXfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708531370; x=1709136170; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=uJcFO/xGgbOVSQxGadPSKw44B07ENxOsKQVgT1VUOcI=; b=otExIMIcVJS2g6drT4mw9JN26vEg8XvlEZujDWWbAZ0XY0WVBc8FbEde6xIeRhzkOO Zbuy6nPfKQx5XyS5iXdRfNIT+umKm6hkN8DEgN+IDJb//dgfgxqWtbxfhSzQBvp2fen9 +o/zffDJ/Qk2A0SBwc6ng/aho2+W0TVW/fQg7g/q+2LVWgxS3Te20W9269XGCYN25DAB ujzkGD0HQwzUnBWg1DaSUFebqmvXIdPK3qN9yLXkbRPz1r7/LskhbrF1gP7R1zvRQtvH w3pTdnv2n5bV4Zf9p2cV4jYcT8veuIg11mMcLRaxqwqdD2g9JYo396QLNEOeUxHlvjWB UFNQ== X-Forwarded-Encrypted: i=1; AJvYcCVKB18fAZcPHK8Tr1DgPJgEwQAuA1D/oXyK8O6Hhl6F8dmhRiCu0ajY0CDxeWAj32HLk1Inicx3kyYxzMz+xp2+jNC2BWaq7WB3Rcvr X-Gm-Message-State: AOJu0YwmR6TTVAyxmQ/YJfV0JphOeY7cggcX/Sp35yYpO50Wj1uoxHKf 0OPLZ4PaPPRsCps0h8RI/D9iWaApZnTIZ7sQtNJ5Zfc7AqMVPDj47C41cYzGaEDecA06Kz+eiKH uL5a9AF15/w== X-Received: from szatan.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:2d83]) (user=panikiel job=sendgmr) by 2002:a05:600c:54cc:b0:412:26f1:1d9b with SMTP id iw12-20020a05600c54cc00b0041226f11d9bmr116452wmb.0.1708531370075; Wed, 21 Feb 2024 08:02:50 -0800 (PST) Date: Wed, 21 Feb 2024 16:02:15 +0000 In-Reply-To: <20240221160215.484151-1-panikiel@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240221160215.484151-1-panikiel@google.com> X-Mailer: git-send-email 2.44.0.rc0.258.g7320e95886-goog Message-ID: <20240221160215.484151-10-panikiel@google.com> Subject: [PATCH v2 9/9] ARM: dts: chameleonv3: Add video device nodes From: "=?UTF-8?q?Pawe=C5=82=20Anikiel?=" To: airlied@gmail.com, akpm@linux-foundation.org, conor+dt@kernel.org, daniel@ffwll.ch, dinguyen@kernel.org, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, maarten.lankhorst@linux.intel.com, mchehab@kernel.org, mripard@kernel.org, robh+dt@kernel.org, tzimmermann@suse.de Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, chromeos-krk-upstreaming@google.com, ribalda@chromium.org, "=?UTF-8?q?Pawe=C5=82=20Anikiel?=" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Add device nodes for the video system present on the Chameleon v3. It consists of six framebuffers and two Intel Displayport receivers. Signed-off-by: Pawe=C5=82 Anikiel --- .../socfpga/socfpga_arria10_chameleonv3.dts | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) diff --git a/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_chameleonv3.dt= s b/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_chameleonv3.dts index 422d00cd4c74..2f48f30cb538 100644 --- a/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_chameleonv3.dts +++ b/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_chameleonv3.dts @@ -10,6 +10,158 @@ / { compatible =3D "google,chameleon-v3", "enclustra,mercury-aa1", "altr,socfpga-arria10", "altr,socfpga"; =20 + soc { + fb0: video@c0060500 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060500 0x100>, + <0xc0060f20 0x10>; + interrupts =3D ; + google,legacy-format; + }; + + fb_mst0: video@c0060600 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060600 0x100>, + <0xc0060f30 0x10>; + interrupts =3D ; + + port { + fb_mst0_0: endpoint { + remote-endpoint =3D <&dprx_mst_0>; + }; + }; + }; + + fb_mst1: video@c0060700 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060700 0x100>, + <0xc0060f40 0x10>; + interrupts =3D ; + + port { + fb_mst1_0: endpoint { + remote-endpoint =3D <&dprx_mst_1>; + }; + }; + }; + + fb_mst2: video@c0060800 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060800 0x100>, + <0xc0060f50 0x10>; + interrupts =3D ; + + port { + fb_mst2_0: endpoint { + remote-endpoint =3D <&dprx_mst_2>; + }; + }; + }; + + fb_mst3: video@c0060900 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060900 0x100>, + <0xc0060f60 0x10>; + interrupts =3D ; + + port { + fb_mst3_0: endpoint { + remote-endpoint =3D <&dprx_mst_3>; + }; + }; + }; + + fb_sst: video@c0060a00 { + compatible =3D "google,chv3-fb"; + reg =3D <0xc0060a00 0x100>, + <0xc0060f70 0x10>; + interrupts =3D ; + + port { + fb_sst_0: endpoint { + remote-endpoint =3D <&dprx_sst_0>; + }; + }; + }; + + dprx_mst_irq: intc@c0060f80 { + compatible =3D "altr,pio-1.0"; + reg =3D <0xc0060f80 0x10>; + interrupts =3D ; + altr,interrupt-type =3D ; + #interrupt-cells =3D <2>; + interrupt-controller; + }; + + dprx_sst_irq: intc@c0060fe0 { + compatible =3D "altr,pio-1.0"; + reg =3D <0xc0060fe0 0x10>; + interrupts =3D ; + altr,interrupt-type =3D ; + #interrupt-cells =3D <2>; + interrupt-controller; + }; + + dprx_mst: dp-receiver@c0062000 { + compatible =3D "intel,dprx-20.0.1"; + reg =3D <0xc0062000 0x800>; + interrupt-parent =3D <&dprx_mst_irq>; + interrupts =3D <0 IRQ_TYPE_EDGE_RISING>; + intel,max-link-rate =3D <0x1e>; + intel,max-lane-count =3D <4>; + intel,multi-stream-support; + intel,max-stream-count =3D <4>; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + dprx_mst_0: endpoint { + remote-endpoint =3D <&fb_mst0_0>; + }; + }; + + port@1 { + reg =3D <1>; + dprx_mst_1: endpoint { + remote-endpoint =3D <&fb_mst1_0>; + }; + }; + + port@2 { + reg =3D <2>; + dprx_mst_2: endpoint { + remote-endpoint =3D <&fb_mst2_0>; + }; + }; + + port@3 { + reg =3D <3>; + dprx_mst_3: endpoint { + remote-endpoint =3D <&fb_mst3_0>; + }; + }; + }; + }; + + dprx_sst: dp-receiver@c0064000 { + compatible =3D "intel,dprx-20.0.1"; + reg =3D <0xc0064000 0x800>; + interrupt-parent =3D <&dprx_sst_irq>; + interrupts =3D <0 IRQ_TYPE_EDGE_RISING>; + intel,max-link-rate =3D <0x1e>; + intel,max-lane-count =3D <4>; + + port { + dprx_sst_0: endpoint { + remote-endpoint =3D <&fb_sst_0>; + }; + }; + }; + }; + aliases { serial0 =3D &uart0; i2c0 =3D &i2c0; --=20 2.44.0.rc0.258.g7320e95886-goog