Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1255646lqt; Tue, 19 Mar 2024 19:06:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWG5vf5OAZbf1UVn+lvEvqz907yshsnUDzNPGW/Ved6V8i3gvhJnd7Ypsr8BT3dHkE1qQ7xtMz+/jCG2igv2q6AYcfYcwP5jmJ9B3WiMQ== X-Google-Smtp-Source: AGHT+IG0iAeWCl4mjx/O4tPZ28pKuzTNuY7zqGTn1vqT4l02FLTCIUlmL1Bmg3MioTzErIhAusJM X-Received: by 2002:a17:906:5f8b:b0:a46:e997:ede4 with SMTP id a11-20020a1709065f8b00b00a46e997ede4mr1571127eju.72.1710900376581; Tue, 19 Mar 2024 19:06:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710900376; cv=pass; d=google.com; s=arc-20160816; b=R07omFmBF8yh22gSJzS8D6SN2nA3+n7JqxqmyhguEGYHFzoRNKU/rVXkq26KEYll4t bknr+fH9Vej8FXnmgj1VBE8GeDwf4hoGqp9JE8VTbU2xbUHjWyv/2N0lvz5fnwCSjsNb MV70xVX8k6eL6AEDR5MPlC4zwu3IU3M1CwVixsq1pkPJXKUXHMnXbIeyC8zEFBcaJSqK LSKy5a8jrUlEXFM6Zw4qbybx1Srl7Wr223p/k/PI0aGUkObyzMgfvlkGjkICM5MRCiGV 55KVom8vyumu+RKm5TN+tovssmYuEPrs7lFlcFT62HcYkR0YFHi+O6bw447MkLCGnTh6 TtsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=QyasacTOWOP4VjRKrlicHpzCDd6GgK1tri/KhQEKWGg=; fh=hrE/sn6ygNuhMMxLBANu3Eh8ARWUO4fSflZinRp8EH8=; b=0bmekE+EeKqsMAZuIqcbDlFrpK1mN4G5vCgUEy2AHHznRScDzRY4ngYJ4ezKnPapgz RVBGVWsY9aNIqRmRs476uQv0/AN/e7fq0HiCE0t4LltEayR1/BPgU/pYzYBtMKCDoZzg 9OaznGJSGxck1deEXIQ5AhVJ+09dWfUEF2hD6e0hGlJYE9bjfEMWzH2AlzeNLFKrtkfI l/fjr9RUM2Dg2ezHFGKTXBdcgZeypyNBhFb7RjQ6eb1WEtLY2GPqdMoVQhvyNd0vsb5M F4AdhnLWrvzZ2ss1wkpKDCr4wVJWMhBzovlHl0Gokbh4oFulgY5Pg6UppMVxytxeNnfl gABw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EdfFqXPd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-108339-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y12-20020a170906470c00b00a46718ba4a4si5747220ejq.454.2024.03.19.19.06.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 19:06:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108339-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EdfFqXPd; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-108339-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 45A131F22AC6 for ; Wed, 20 Mar 2024 02:06:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 180CBCA47; Wed, 20 Mar 2024 02:05:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EdfFqXPd" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 E11CE79C2 for ; Wed, 20 Mar 2024 02:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710900356; cv=none; b=Qcis/4A6UATcckxUTrWVgHBqz+JmzxJFEZdxqLPCEnI4RONDxEyPO3sTSs+WbMpsufIRmq6wU+1N9AxNoyIvyKF0SmoahGIIXESFUA57Pt8v1fBHuPUGTPSYL1UbnrBSNUsEQkhUG+iHj3zBT8V1jcLHOFebmEjntlbRC7zhSrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710900356; c=relaxed/simple; bh=lPoNO8Djhl6VxJOMdubS7uCdMzqsv5KWwLk5re8YgxA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KSXt9PRLsUhHTtJw3n6kz2avxfkV06fUCQNm0Jmo9bxJnHI3LsjVozc9TdKP0ya7a4dr66A3TU0fkAfIosVAl8RHZ9VvyfPKhanZJKRibk9OGmUennKez5CZwT2LMuLHYQ38dMZ1MiTX6RPArF14WjRs+3Dw9QEpWrmmRuda2Io= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=EdfFqXPd; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-33ecb04e018so3457668f8f.1 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=vger.kernel.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=EdfFqXPdgDJn/VvVyrxKcqn6uYht+JIpzUYIRwJOgxfsBOJiFVlfaUPaKMUO+FmTl4 XIq3LVNN5TA8F2QHV3Y2BZ/Qi89Mh+lPqfYLQu65ZzF144/m0utiEnCUdYqGPG/wHBU1 xJhYGf+S7E2lkj4A2fMFdOEP0LVBK4zQOpdIHtAfMJHmn7OX9pd/JmcragUDKzU5vG+O 3bRpybYm1bNz63orJbQH+0mH0jL/PStg+EQQzshNkMmjlieDGN6K4jN5LC2bexOiiNhR gxdSjuLMNb8voZP34tONuOmJOkPvgzFlpK/RUGWP+pKW3wqQCZmIkl0L5lo1+SINaHJw 09ZA== 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=cfhB4MGGSk5z1QVQT4Dwq2z/5NHjSfGTZzGKF326LbiMVOwoILiSraaiD4f1FfNEtJ 6m34ZnbAE73ymqGjT4Rg2t+GvS6ru7dqHmmJ7v+DihZN2VeXddVXC72yTXqsV9G29esR BLiDza/rPzR87GczAGJNeVvP0ucDbjfCZhDMCa9+FstEW8Z7jkgi0LOQoJRPO3h8tAH3 nuCZA4EjXJzQZXL0QTBC253RdFBYLr1A/ZIKhK6TYRTAnZy6/1kljGVh7v/fYF9BtLz5 o4VZWT6XpqDlyAfD/WeVHdGCod1e/YyDZuas+p1KOXQ5wskZTOacXQ7ogM8L/8Gs+ceN aruw== X-Forwarded-Encrypted: i=1; AJvYcCWXiQ/nCBV5ndcwaG5UKl5C1UZ6KVq0Yk/8Tzs5kAn2nkO4mpJeE3LT1cD8Sm9/zB7iEkZ4yIDI9Mtf8wmYffHKI/0bylNhiPVR+gB1 X-Gm-Message-State: AOJu0YwB4LoI77oEAV6Y7FxMRkHwbCGPBfSTUqfqp0xB/FyZNRuB6e6y fT3Eis0/nsNcsROg2T+RNnXHKytK1Q0LN26CjEoSuqyBwlZgxunW8r3zsMBv+3s= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 { -- 2.43.0