From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 62E5E23909F for ; Tue, 28 Jul 2026 15:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785251804; cv=none; b=cPz1M/YKpTfrptK2x6ANXx/p7yjId8vRQ004Y6DoYJVPeW20vC1Rbzh27xGvBIv+jU6mK2HhL1Jt7AqtDrOcQ+s/GwMscrVfaDbWjDHTDT/YmiG8gK6LYFMEZTIh21Qiy0o9cH531oz+3dI9l5WgyaN8ybQ6rq3t9Joas4krGNw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785251804; c=relaxed/simple; bh=gCfxWeJ7Lv5iUGV/b177D6lgB3v1AXGrvpn6dtakou0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Erd6W/bW6xooK7Mk4RhoE74cYL1vJY882tNpwidb2Xn00Qxl2Yo52LvDi5TQUjXRJwZi6ZGNrnMVjaWE7ckcRay4/21iPfjq/FES36BbAH2rg0I1hd+x6p6TZjuORAzlgAvc8a3EGPd8SzhlakFAuq+56jil7H/+OJGq4aF7ul0= 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=PWT76KpJ; arc=none smtp.client-ip=209.85.221.51 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="PWT76KpJ" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-47f707e5d75so2738077f8f.1 for ; Tue, 28 Jul 2026 08:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785251801; x=1785856601; 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=/TYvBUpeT2RltElx7WsXqQl+6E8angCl/PINS2CX8a8=; b=PWT76KpJN0rNvBxv6cKAeVNliGJoCS/Mdzax4ct8BqNNWZRIPe/3QxiqywwTLPMC52 91TXkh1wtJOHWTL7e45nAuaw3hU/VhImOHer2OqapGIAu8QjDniIANgO12kAZ5b2OepP 7FfmZvl1h8hayZRTGoECBvsRheKDJF1N37vmVHdqbYby2eNuU12Ib9NQEPxlYhytaHZy JIrySLpIJ7625+yNICvV5O1fYn1O9H8cG4DFpAQnoh3TzG9MPqwknbjZ9ZNdEUg0BzG6 o7dTnEX6Z4mjPXSuGc0XS+R/UbBks+eDcYlIFRQlTNsUNKQTsyejijLey35+eyCoXAII NJwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785251801; x=1785856601; 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=/TYvBUpeT2RltElx7WsXqQl+6E8angCl/PINS2CX8a8=; b=OKS9hzvfxnXQkprXz7aT7XzMo3YgmX51M419wdjMHVqnzBXV4J1rORu8ZhtptoT0ua WcGXctIUf+L24g+etK+zOz/a8I80i+lhVLC6JON3OQiehWCNx7seDJpBtdz8MqZVEkYi FwC7CCkMx2RkrukyE1jUMmG+m3WIXJbHrj3yrx7C67XZbDa9H2aJnLeYz3jqWHnLj2pX G5iBruZHG8vb+b8mqgEF/jqbpItI5cByxqfWGiZw6fbDLtvlZgIs4Axlqh2aOw2iXOs9 f6/KuD723vX+Be91PFFdFw5EqSBkU0EeSMpu6tfzOnnUYQjJqZEsLMH4gGl4zdJH/AR1 eDXA== X-Forwarded-Encrypted: i=1; AHgh+RrT/WC4anzx5R6ZpWi9BuryHwl07iDnn9F4mZuN3V0Yh9Tk+0hLubrN9uJLHCqCmIFSC+9jDCWj0rX8YM8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy7L2vGQ62fLtKReY1YJFbY86PFgXqP1PMupB9nuCWNv3DaqLOZ kfubdgRhC+4hkBDPPVu9humbU/OpTZm3UeaN3EBIp359+VamSD/cd0AzBdSANcq0 X-Gm-Gg: AR+sD1285xkR5m58ZLP5U7c5eR45HRgvt/cimF78IJnG/toGh9+vG9pYCuS5LDjOB5f EHUKupqNnJsAPduQ+95ECANgmYNehp8LeV0CtcoSkCHccXDjk6bmrzrK2iHy4eOdzSfmln1+Ul1 nI97wUDh7F3YAYYLNX29z1EZNb6LsY8X4dnFn9bwnn7LWjTFcfzUTSxNss1QdNr6D0tju1xN92s pko+9gWJJ3fDMLYE3jTjGVjdVCsKm5+b1xcK01QlEpTj4Nb4Bu416caZY+Zc1AQNsfIwIABPUG8 H+EKPoQ+WVTcehVR+1e2yZ9NV5HpJRuUNpQsF/C29Q6q1ST2VRNtfR8zGIrQZSMZEttN4DcS3xT hclnIEdUD0UQUKsapzRaRjqSE2APPPXFRL7JDaWfdhkTPFX6O5d6evFTTCIFz2C1CTdIKiVMg6G GNPcifenP+rV5VHijneVzVwXQSM6zGeqSyg4svo3uRu+ynCQ== X-Received: by 2002:a05:6000:4918:b0:47f:5a97:2a5d with SMTP id ffacd0b85a97d-47fb1e5cd25mr3577209f8f.11.1785251801287; Tue, 28 Jul 2026 08:16:41 -0700 (PDT) Received: from slackboot (93-34-146-61.ip50.fastwebnet.it. [93.34.146.61]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47f85c631fdsm58422500f8f.28.2026.07.28.08.16.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2026 08:16:40 -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 v3 0/3] arm64: dts: amlogic: add support for Orbbec Zora P1 Date: Tue, 28 Jul 2026 17:16:33 +0200 Message-ID: <20260728151636.236393-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 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