Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1039441rwi; Mon, 31 Oct 2022 10:25:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7JviFxXOuPp1qtSjqmGjpTr7HZ4XcX5Nditm/J8OVB6DXj2OhlotvcT6BneN+OuGipQYKF X-Received: by 2002:a05:6402:35cf:b0:462:67bf:94a9 with SMTP id z15-20020a05640235cf00b0046267bf94a9mr14628002edc.1.1667237127057; Mon, 31 Oct 2022 10:25:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667237127; cv=none; d=google.com; s=arc-20160816; b=swnelaLL1Zw6UP+q+o/KMJXbiojl4bLhGivfS3rPa7bfcZ9vosBNAzKezbSwnZzuJw yZVANLxW7O6I2pwfSW+B7a2+wKkdUC4WHbY9XHooShf1jGnbR8QtY3Py4ils9E5VHKr1 cVu/AZ/YM/1+UNXD98V7D/+swWPtQijOrbyQkE4C0hl9tUX/be33dlyes7qrDHm/j9li m/5nQ9Saegej9+bHDRe2dM+QP4IYMfTq89E4xwQ9q7SQLB+d+jBL5tJIOvHG5Qy7BvDF 06c46SBc0u5vt0TJWwZWnCiLjSBNA11+R9Rq5SzhOpSWiAj4z0oQlnqcvH6Ew/ucYQU5 C1sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=NOvjAXevhTkIKEozXkDl99JqlY+Qi6ewDIiwMUqw+eI=; b=pbAhIACAzWrDfZgwK6YFgycO36lcJFA3bzVUy9OTFkFH5bJ3o+q4aXggWU2nfFP4XD HMAAcJJHm0CAK9NQtW551hFqpnG/6AUpye9AePTkr2mDcEWCbVlVXFY7d+g9+wLO744x nGU7BaBXau7NBm4ys1b6BT3WcL1bleh5wx3Zjji9A50P4CmxH49v55M8xYEFPm+CVk5J aE0c4nCW0oBqg5kzI0i7tZAmAsJICuNRIYbirlCdJoTxIpGQehfbDHg7OtVZ7pObfyXk QY1x2KK6x+0v+6gjPZ1WaylJqRei8lvX69WC5MAaRUSdijgU7/iH27uxJVNyQDW8J/GW Z0rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qY2IeKDR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u16-20020a056402065000b004596db363c4si7270047edx.264.2022.10.31.10.25.03; Mon, 31 Oct 2022 10:25:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qY2IeKDR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231727AbiJaQri (ORCPT + 98 others); Mon, 31 Oct 2022 12:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231709AbiJaQrb (ORCPT ); Mon, 31 Oct 2022 12:47:31 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45C5B12AA3 for ; Mon, 31 Oct 2022 09:47:30 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id o4so16817434wrq.6 for ; Mon, 31 Oct 2022 09:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=NOvjAXevhTkIKEozXkDl99JqlY+Qi6ewDIiwMUqw+eI=; b=qY2IeKDRG1F4poEQPiAWWwD+glIBmz2L95iZxZiagfOCWZPnnMTf3cBx/VNmUR3OSl O2CLdUJ8mHfln5H75LZ1mzfbQ/cAL6C3oMFXSNSbbavXhhQNkMD2qQ897BCUKTSa+SHS L4bV0YSEwLQQeIegTJV3MIJgFJSYs5K5tdIR8H2MRRYvESbxB8zqP7qdblVFmAIFgm5o IycEid4/5BbtDlltxbKqLS9INDgq8xCg13tVBe+RaIVPMTe6gCdrWRLx8yjueLjRmeC+ JWLK42+UZHM2V5bL1ZYpVuUu1r3KY9BDCEn/a5Z1YyiuGrHONQQ2NKE7BnRGprS0Mqev vV0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NOvjAXevhTkIKEozXkDl99JqlY+Qi6ewDIiwMUqw+eI=; b=Xx8ic7cCQkDqt8SFK58XmA595cAE+zwnwLD7yv1BHj0aWPpg0qvVI01rYtZ475KAvq mDZn8/md449+8LTIpQL7dOuX+G7XkTCr0+InO0MnLpONxCsZfHpd866+Fyhni3SUYp5P PjlSa6pLYQnFCtkkepVBQBwbDUr54r6PbGFt8Pk44QTLORMvpZkyBwaAgv8ZQq348k8a Jxcil29FZciAo53Y/B+oQwZmZqev+8zeXAKYiGTP0gGXK52OpsQpPRlC/b7DIJIGhDaH 2hITbebpne/Jzv8vyCXh8hoZMD9HGzZe10gI7hHcpua4g6HF3cBpex4eHiuz/fgBAubm jupQ== X-Gm-Message-State: ACrzQf0ny9vH+CKq7H7aGePTyMbCJF+PhLvUbvx6UUIu5dg11pQZP0WU 5Zo3ZGnjenCcUv7f+QRbM1DrTA== X-Received: by 2002:adf:da4f:0:b0:236:cdd4:4ce2 with SMTP id r15-20020adfda4f000000b00236cdd44ce2mr3330832wrl.626.1667234848824; Mon, 31 Oct 2022 09:47:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 09:47:28 -0700 (PDT) From: Neil Armstrong Date: Mon, 31 Oct 2022 17:47:25 +0100 Subject: [PATCH 1/4] dt-bindings: reset: document Odroid Go Ultra power-off MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20221031-b4-odroid-go-ultra-initial-v1-1-42e3dbea86d5@linaro.org> References: <20221031-b4-odroid-go-ultra-initial-v1-0-42e3dbea86d5@linaro.org> In-Reply-To: <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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Hardkernel Odroid Go Ultra poweroff scheme requires requesting a poweroff to its two PMICs in order, this represents the poweroff scheme needed to complet a clean poeroff of the system. Signed-off-by: Neil Armstrong --- .../reset/hardkernel,odroid-go-ultra-poweroff.yaml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Documentation/devicetree/bindings/power/reset/hardkernel,odroid-go-ultra-poweroff.yaml b/Documentation/devicetree/bindings/power/reset/hardkernel,odroid-go-ultra-poweroff.yaml new file mode 100644 index 000000000000..65e42258717c --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/hardkernel,odroid-go-ultra-poweroff.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/hardkernel,odroid-go-ultra-poweroff.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hardkernel Odroid Go Ultra poweroff + +maintainers: + - Neil Armstrong + +description: + The Hardkernel Odroid Go Ultra poweroff scheme requires requesting a poweroff + to its two PMICs in order, this represents the poweroff scheme needed to complete + a clean poeroff of the system. + +properties: + compatible: + const: hardkernel,odroid-go-ultra-poweroff + + hardkernel,rk817-pmic: + $ref: /schemas/types.yaml#/definitions/phandle + description: Phandle to the RK817 PMIC node + + hardkernel,rk818-pmic: + $ref: /schemas/types.yaml#/definitions/phandle + description: Phandle to the RK818 PMIC node + +required: + - compatible + - hardkernel,rk817-pmic + - hardkernel,rk818-pmic + +additionalProperties: false + +examples: + - | + poweroff { + compatible = "hardkernel,odroid-go-ultra-poweroff"; + hardkernel,rk817-pmic = <&rk817>; + hardkernel,rk818-pmic = <&rk818>; + }; -- b4 0.10.1