From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 B1EA53A1696 for ; Wed, 29 Jul 2026 17:51:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785347504; cv=none; b=jTZaYI4BtqMiuxHYDX9uMXdsFnl1sZp7kG8JZOAADgCVKwmFeBk3rcPccVyg9S8U9dtgu/9ntkoO4nLLWrR8wFiG3iEr0pmIlTF3w/TvRm+nQXP0Y0lGEBlsJgJKVPpSqJWOi79IQikOizJgaPXBEKr82lbhtgm7YrS/AaQkEcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785347504; c=relaxed/simple; bh=rTdlcr9naP5lTolqbDHtyC24zFNrMnM3yE4w1hSezWg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=upakx47f2pZ9Ht+rVs9/V7rjhWdEV0p3FwcDL3jI8ovz3uDlNeJLxe0dVBF8d+n0vNrV5jUwdq0gJfW/HKdfr4cVxYO50kXSGQNx2/Hee/K3VTFoPubbRjrxq7ARZmIHDqlr0ietuG/m0yMF8OnSjiTTHkmOEi2CNqJ3EOOBJOU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VG4iya3z; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VG4iya3z" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-495635a85d2so9942525e9.0 for ; Wed, 29 Jul 2026 10:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785347498; x=1785952298; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=mHfyftPnrfhvR2Ntml4St86c0F/ZubW4Z9YdS0+Y/vk=; b=VG4iya3zBfdzUEaSXeqPXJ0CKpmlMQ88YDwmGtTKCAmPs/H+vBcjNl69B+p+EhAy5P 2LMv53Dn3EgT9BoNIXLMYV7Gcnw4xNVUqdpIkI0r4n3ZSDiZJx8Yt/PWTEL6bYORsCJT 5V3CCtrv4RNbwSoG9rnmq9sT6iacStrtTRtk88+x9Fz4YoGTGxo3QG7YG56v88OG+Kp8 gbkyMdQ925rf3Jj+aaTI0tXorB3QOp9ZMvxvuHtjNhg4ibWtfmmfSwcMP34nHDFTGqOG IKguipS6/O5u9B09Lr3Dv9Y4A1/Jz7b7hH1nL4hHe3KJdvtWuV4DurZOadElHC3MphWs vfig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785347498; x=1785952298; h=content-transfer-encoding:mime-version:reply-to:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=mHfyftPnrfhvR2Ntml4St86c0F/ZubW4Z9YdS0+Y/vk=; b=Dv1Dzha16KPNATT0RXPNFt6r6Hec04S2puwPN6lFv8xJP9Tq1zzwSCjU7mpQXl0jEe z8vG+CZdIN++kIue93MK/dOoX1MhcG3kBNagwSpWH31xVbsddMQUXzPrWWkKBiaPBEa7 PtOBFccc/Vq9ysIYlq5WgHsV06VCpEYVTlbS4+KMwnKdDYOJra7I1ILdv2A3mcoPCyK5 BRP/aqxj0+LbvBsGoXk1y82GHqGOYu5ZNp1JKkjvA7aFopKoMnZ3VCioKDHEsZR2RlYT 3xPdkZmKJ7GcY42TbEuj0qeIPGUK36+Rzz0UQoPQYKRn8AumMq8t1ie/GzSudpTWs1tJ B7UA== X-Forwarded-Encrypted: i=1; AHgh+RrU4bOSH/mhptxFPaWjD7hvJn0+w0CEXws/dJTMq5SCtGWgozHlp4sO0biSvW3nKh5K98a9DR35gf70anI=@vger.kernel.org X-Gm-Message-State: AOJu0YxgjJm6h0AxiX0mN2b5Yc+egy7ZTMCJZaUWgByYWwtgaMXzoXUK glYUstheL/tY8NggeBlUxTaFOY4B4IDc/VtgfbIVnFsHXgl68rH+av2m X-Gm-Gg: AR+sD13nUNeZmhFZ9nHAoWnVALFFv0oBLvNPHq9jDdPHChi8qqriZzhTBzS+cjk9eEJ zDG4JCbCYwZIIewPhko6vMkUlp39aBENtCwBAZWL+HArWeE72wO78Z71p5rBQ7tQn96Et4yy6g0 wTF+tvAsY3xmQd5BWk1D8xKG3nmU1xR8sWAUaiyjxaPCVfmFC/1QKlcP1BOD+kut1RaqBACoxzq p8IVtmAfbAKoig7cjm4/3GGXIJqIE5+Ra38oeloFvUV9IYlLNd0A3wAae3kN2j6hF9rSyLuATvr nBHU75FcoNuF/VwNPXgHkS3Z4uFcKeXDpAfciZKrzpxTwvqyLQsCXFcpO2Fyd93HpyIBy8Pa3G2 DETQ2mFFhb0/ib5G+lVdl2Ti1gHOm/TS0dXtGWo0a3Oe0UXlFi0jIOKcoYLODII9kIUqgqgvN1m 3prL44l2zVRgsynDsjfrRkTgNQTN9OHIZLiGVD2V7zFLzMnOySqzVqbosLghToMREBvZ71pZ4za A2/c2eyR+p4IJqUGDmHRw== X-Received: by 2002:a05:600c:4693:b0:495:5045:39e6 with SMTP id 5b1f17b1804b1-496c643bc85mr87358905e9.17.1785347498162; Wed, 29 Jul 2026 10:51:38 -0700 (PDT) Received: from slackboot (93-34-146-61.ip50.fastwebnet.it. [93.34.146.61]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4976bd83fabsm75723775e9.15.2026.07.29.10.51.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2026 10:51:37 -0700 (PDT) From: Alberto Robazza To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, neil.armstrong@linaro.org, khilman@baylibre.com Cc: jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Alberto Robazza Subject: [PATCH v5 0/3] arm64: dts: amlogic: add support for Orbbec Zora P1 Date: Wed, 29 Jul 2026 19:51:31 +0200 Message-ID: <20260729175134.92909-1-robazzalberto@gmail.com> X-Mailer: git-send-email 2.55.0 Reply-To: Alberto Robazza Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Orbbec Zora P1 is a vision development board based on the Amlogic A311D (Meson G12B) SoC, with 2 or 4 GiB LPDDR4, an Ampak AP6256 combo module (Broadcom BCM43456 Wi-Fi over SDIO and BCM4345C5 Bluetooth over UART_A), HDMI output and Gigabit Ethernet. According to its specifications and original device tree, the board is a revised version of the ODROID-N2 with Wi-Fi, Bluetooth and an Amlogic A311D instead of the original S922X. The device tree therefore builds on meson-g12b-a311d.dtsi and meson-g12b-odroid-n2.dtsi, mirroring meson-g12b-odroid-n2-plus.dts. It extends those descriptions with the board-specific AP6256 wiring. The status LED is green instead of the original ODROID-N2 blue and has inverted polarity. This series consists of: Patch 1: add the "orbbec" vendor prefix. Patch 2: document the "orbbec,zora-p1" board compatible. Patch 3: add the meson-g12b-zora-p1.dts board file and Makefile entry. The DTB was built, validated against the amlogic.yaml binding using DT_SCHEMA_FILES, and boot-tested twice on the board. The AP6256 Wi-Fi interface enumerates and operates with the GPIOX_16 reset and PWM clock description present. Removing the wifi32k and pwm_ef descriptions causes the SDIO Wi-Fi device to stop working on this board. --- Changes in v2: - Investigated the apparent GPIOX_16 overlap between the SDIO power sequence reset and the 32.768 kHz PWM clock. Retained the description after two successful hardware tests; removing the clock description prevents the AP6256 Wi-Fi device from working. - Sort the new DTB entry alphabetically in the Amlogic Makefile. - Sort the "orbbec" entry alphabetically in vendor-prefixes.yaml. --- Changes in v3: - Polished meson-g12b-zora-p1.dts. - Use proper comment with /* and */. - Use the new bindings with function and color properties instead of label in leds node. - Include dt-bindings/leds/common.h. --- Changes in v4: - Dropped unnecessary sentences from patch 1 and 2. - Renamed "wifi32k" node to "clock-32768" as updated guidelines suggest. --- Changes in v5: - Add Krzysztof Kozlowski's Acked-by on patch 1/3 (given during v3 review, was accidentally dropped in v4). Alberto Robazza (3): dt-bindings: vendor-prefixes: add Orbbec dt-bindings: arm: amlogic: document Orbbec Zora P1 board compatible arm64: dts: amlogic: add support for Orbbec Zora P1 .../devicetree/bindings/arm/amlogic.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-g12b-zora-p1.dts | 105 ++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-zora-p1.dts -- 2.55.0