From patchwork Mon Oct 31 16:47:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 13026134 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FBA8FA3747 for ; Mon, 31 Oct 2022 16:47:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231810AbiJaQrc (ORCPT ); Mon, 31 Oct 2022 12:47:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231753AbiJaQrb (ORCPT ); Mon, 31 Oct 2022 12:47:31 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3886B12A8C for ; Mon, 31 Oct 2022 09:47:29 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id bk15so16770636wrb.13 for ; Mon, 31 Oct 2022 09:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:from:to:cc:subject:date:message-id:reply-to; bh=jxq7Kit5ewu9alvw6v26dSql8rnzDq0nCvqHaHXZbsc=; b=BLgwe1DfbNcToNja0I5ablkTHUZTolxvc/J+2guV1ofgW2O0ZkmzsTV+rbohlGCiMO 6alYezYMn3i1bUec2jl8HIBLbZsSTOPEIuUmgumFBOxKb8joazGFaf81bqFWbGKu8lcQ kq9WQo4RnI8nX8ANFFXx6p+bIzoN/j9Bg/n63dyNS2TiCEOrnZVHX3gswMnmkBqy3CLB Tv24Fklhb/f56VQKGKx/vvhTMV98yd0SSWhu/LHi5kZRarR6Ncw1i5XgrznM0opIg1qd d7nBoVcBy6l81sY1EEvv4CNgFx67bYZq6l6ZOD1kWHVi4JvCOFAAAoFn91k04Z/mr5Nb +zng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:date:from:content-transfer-encoding:mime-version :subject:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jxq7Kit5ewu9alvw6v26dSql8rnzDq0nCvqHaHXZbsc=; b=u7YlGPSkEK3cw1bfuBD9m1q3mafgrECQG632r2BIgULwymNgGxFKpACpBsZJgEkwWr G3t87f6uW0bHdvy2YXNdsgO3ZEb+o+OSfXSXXRgP0j+rbiXjjlPSkQYhEdQNypB3gxsV ztGC1eVAUxd2BQciVGXuxMxeUD5bzNWzLhzPfRMw96e3Ut93+jwZzMCCtzem3kZhKHS5 XU89PLBqVqR0z4B5z+ejcD6X/PdyY0E6TUV8PaaVq0eAYjJBnDYgXHTld/6bThCG4V5o SJUU9zBK4q5u9ree/NsCRmAcQGrbWfYAxps8/0ib3Lgd7Jt1byJDqAIHzacoBFL9tNO7 qgLw== X-Gm-Message-State: ACrzQf0bmm718I8Qn+By8V3mC9wk8Z8VRm1rnt9kAI/JYFm+a942vp09 f0SwfZzBpsETJZFxKVRfOfRw5A== X-Google-Smtp-Source: AMsMyM4uCIJl5FzuUBvAx55rrePRHBWvJHlDInwsB5i3biXxKtWVuCdFt25ddWPZhDdx0h3GVqlyzg== X-Received: by 2002:a5d:6d42:0:b0:236:c9a6:5523 with SMTP id k2-20020a5d6d42000000b00236c9a65523mr4378601wri.222.1667234847726; Mon, 31 Oct 2022 09:47:27 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id q8-20020a05600c46c800b003b4868eb71bsm7488871wmo.25.2022.10.31.09.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 09:47:27 -0700 (PDT) Subject: [PATCH 0/4] arm64: amlogic: add initial Odroid Go Ultra DTS MIME-Version: 1.0 X-b4-tracking: H4sIABz8X2MC/w3MMQ6AIAwAwK+YzjYREAd/U6DRJqQkRV2Mf5fxlnuhswl32KcXjB/p0nTAzRPkk/ RglDIMfvHeLcFhWrEVa1LwaHjXywhF5RKqGHmLuXBkHwhGkKgzJiPN5yj0rvX7fvF2aJ9xAAAA From: Neil Armstrong Date: Mon, 31 Oct 2022 17:47:24 +0100 Message-Id: <20221031-b4-odroid-go-ultra-initial-v1-0-42e3dbea86d5@linaro.org> To: Martin Blumenstingl , Krzysztof Kozlowski , Rob Herring , Kevin Hilman , Sebastian Reichel , Jerome Brunet Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.10.1 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This adds initial support for the Hardkernel Odroid Go Ultra. The Odroid Go Ultra is a portable gaming device with the following characteristics: - Amlogic S922X SoC - RK817 & RK818 PMICs - 2GiB LPDDR4 - On board 16GiB eMMC - Micro SD Card slot - 5inch 854×480 MIPI-DSI TFT LCD - Earphone stereo jack, 0.5Watt 8Ω Mono speaker - Li-Polymer 3.7V/4000mAh Battery - USB-A 2.0 Host Connector - x16 GPIO Input Buttons - 2x ADC Analog Joysticks - USB-C Port for USB2 Device and Charging The following are not yet handled: - Battery RK818 Gauge and Charging - Earphone stereo jack detect - 5inch 854×480 MIPI-DSI TFT LCD This adds: - Poweroff bindings - Poweroff driver - Device bindings - Initial device DT This serie depends on: - https://lore.kernel.org/all/20221025-rk808-multi-v2-0-d292d51ada81@linaro.org/ To: Sebastian Reichel To: Rob Herring To: Krzysztof Kozlowski To: Kevin Hilman To: Jerome Brunet To: Martin Blumenstingl Cc: linux-pm@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-amlogic@lists.infradead.org Signed-off-by: Neil Armstrong --- Neil Armstrong (4): dt-bindings: reset: document Odroid Go Ultra power-off power: reset: add Odroid Go Ultra poweroff driver dt-bindings: amlogic: document Odroid Go Ultra compatible arm64: dts: amlogic: add initial Odroid Go Ultra DTS Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + .../reset/hardkernel,odroid-go-ultra-poweroff.yaml | 42 ++ arch/arm64/boot/dts/amlogic/Makefile | 1 + .../dts/amlogic/meson-g12b-odroid-go-ultra.dts | 730 +++++++++++++++++++++ drivers/power/reset/Kconfig | 7 + drivers/power/reset/Makefile | 1 + drivers/power/reset/odroid-go-ultra-poweroff.c | 122 ++++ 7 files changed, 904 insertions(+) --- base-commit: 247f34f7b80357943234f93f247a1ae6b6c3a740 change-id: 20221031-b4-odroid-go-ultra-initial-5e65cde5e23a Best regards,