From patchwork Wed Mar 20 02:05:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 13597202 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6564DC54E71 for ; Wed, 20 Mar 2024 02:06:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=abq94qJ5BTy9d14Z9N0S1Xh9+NYGYqLpGolDTq8n3JI=; b=utP7f3XoEcAiLd BwNGsgx+qPdSNUv0+2Hdg//S29yQ0fCtYcN6KiYgCKlykpWgtug5NGbFKXulD93xCOYU3UXDB14Gr wPVPck0zMBlF2UriQMJVnIuwO+l/vXxTfl5biYi24zMCOhQLMO4F/NVzpGlfVeskQhWDaCY3Awu3s iANAz83wUfgR1Ww0nxhHxXEzkDw2lYcrZVGYmZKWCG3GUW8Mu6ZkKzBaUev4caq9jW1aLarFMvm84 ArWhch/1rvgFqOzSmWimATLqh1bAV3wETOP8p8LbUKbK9gRYA2CqTJi1XiLzo2UnL73twJ7nKwrx6 0SM84FL7JstuwiLTK+sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmlL4-0000000Ezry-06nt; Wed, 20 Mar 2024 02:05:58 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmlL1-0000000EzqE-1eUd for linux-arm-kernel@lists.infradead.org; Wed, 20 Mar 2024 02:05:56 +0000 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33ececeb19eso2855390f8f.3 for ; Tue, 19 Mar 2024 19:05:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710900352; x=1711505152; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QyasacTOWOP4VjRKrlicHpzCDd6GgK1tri/KhQEKWGg=; b=SDzb2T0IKvsMJI8jjvXsC1JCVSgZ65fhC5uA/ic0w+LpBmteNpqv2pBQOBlHbWlf3X xbbQWqQxhuZP14kPSaXgHhvPZs0ZYANHIqSJcHL09hj+dAgmiDPw7K+EVdP3jyjZqkoU lQrSM5bvY7GaMrDbyZT+j1H/RowZUTnXutVaJoyWJIjK6U9FDQjl5yQjgROpAI5kDm6F 3MYLpjmvOLJ/NxxR5sE0k8K3OgU/WegQFQPUQap8JXk0GiEofLOgEsz2SSN4OAt+t3+b Iyt6AEZ0zrEyv7NtuDmuDuiA3dOvsM4KMH4o/joAgsPxSb0cMPVllDLQfO5VYeczs2RR Xxuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710900352; x=1711505152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QyasacTOWOP4VjRKrlicHpzCDd6GgK1tri/KhQEKWGg=; b=B1la0JUp6CuyDBtiTKiZbL/UB38bEHPruokDOzM51cof1Of1FuF8NvZS6d2nvszQeo mXhJua3/IZixvt5H/33g3SEAG13fynHVLqrc6t6BZmFsLlqINLgO4yQlFpYaGaY55RG8 8an3y1eZpOU3wX09z5YDJBKRtEgOSM7KKkCr24eXTVy/dUHqMaqKQKctH9zqlBO8OjQT g9+fB35PHUYCb0zca1S31S6orYKNDgy3I2IsRGcesz3ZpKSGZSNWHUT0+A10njh/ycew qz4wZ25VB07DQ7XHIykCgJ38dPJuGfjuDUD7haeoDhC7IVACYENK+yv7tDid9E9ZM/qU sFcQ== X-Forwarded-Encrypted: i=1; AJvYcCW7QcXrnwrUgXZeGHbeobSC4Cv7bw1X2u9SOoMk9w8dn79ASty/CoFD6pJCZlr68ULTPMylUB/q1hdEw1va4stehhGYrL1btjwdD4Tu4l5xCSB1v2M= X-Gm-Message-State: AOJu0Yxzeqo6Dpfrz+9hSK9AT/SF/zaZmQcT5RHPIMvdqnc7ZbeoFDDa itjOAOhMa4h2cGqKqdaYBOI3Uw8bAmcrtT1hsP6YhYGw8AMB8t+xPCTcgUjHvVc= X-Google-Smtp-Source: AGHT+IE8+12GBzXTqWjxuTZRshAv01JpKd7Einxq0QOMnNA/rTAdlf6+uMRJwWulrGPL+WIBl6UI1w== X-Received: by 2002:a5d:5492:0:b0:33e:cf33:bb1a with SMTP id h18-20020a5d5492000000b0033ecf33bb1amr10138419wrv.12.1710900352322; Tue, 19 Mar 2024 19:05:52 -0700 (PDT) Received: from localhost.localdomain ([2a02:c7c:7213:c700:e992:6869:474c:a63f]) by smtp.gmail.com with ESMTPSA id u14-20020a056000038e00b0033e34c53354sm9209295wrf.56.2024.03.19.19.05.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 19:05:51 -0700 (PDT) From: Alexey Klimov To: sre@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, peter.griffin@linaro.org, robh+dt@kernel.org Cc: conor+dt@kernel.org, linux-samsung-soc@vger.kernel.org, semen.protsenko@linaro.org, linux-kernel@vger.kernel.org, klimov.linux@gmail.com, kernel-team@android.com, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, alexey.klimov@linaro.org, alim.akhtar@samsung.com, linux-arm-kernel@lists.infradead.org, elder@linaro.org Subject: [PATCH 2/3] arm64: dts: exynos: gs101: add poweroff node Date: Wed, 20 Mar 2024 02:05:48 +0000 Message-ID: <20240320020549.71810-2-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240320020549.71810-1-alexey.klimov@linaro.org> References: <20240320020549.71810-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240319_190555_479893_EDAA129C X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 55e6bcb3689e..9def28393274 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -509,6 +509,13 @@ sysreg_apm: syscon@174204e0 { pmu_system_controller: system-controller@17460000 { compatible = "google,gs101-pmu", "syscon"; reg = <0x17460000 0x10000>; + + poweroff { + compatible = "google,gs101-poweroff"; + samsung,syscon-phandle = <&pmu_system_controller>; + offset = <0x3e9c>; + mask = <0x100>; + }; }; pinctrl_gpio_alive: pinctrl@174d0000 {