From patchwork Wed Dec 20 23:54:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 181907 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp84189dyi; Wed, 20 Dec 2023 15:57:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEnULWZoo83yIKVkbrf2SXWSgcL//dgrv2ed8xWtIYyQxL0f52YJm1jLJtNOaj3SQxeezVH X-Received: by 2002:a17:906:116:b0:a26:a606:2972 with SMTP id 22-20020a170906011600b00a26a6062972mr7097eje.24.1703116645702; Wed, 20 Dec 2023 15:57:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116645; cv=none; d=google.com; s=arc-20160816; b=uW1weS3b7pkiPT0jwDP11n0bp/nEd6M76VI6MO/qJ2W2TNBYJcAS029fm+9QY6O7YQ Z9CEOnFi2CVL7LKjnosH/xHvnS6d2MqlpxjR+/8XWaaTsUPIR12Zq7IhPZwPr1zdo9Es JQ+xyLvKH6kndSaIvYRHhdYViVf4tHX2eo1xyitB65WdH03YSk9xsu6iZBBI+HSVWB+P mPpmbDJJ9UAOSr2MseW/AcVeZu0DVBSzDMHu6snKwJ+2/XYEU8qnmT4HaVD/gXe4Nxby 4WxOw+AbtuF6dQ2dKONHiQogYC5xFpztXiBIEUXxX1smTGM0mzKHKjuJUCsoHNZYoDiV KE2w== ARC-Message-Signature: i=1; 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=06i8yMe3unqllEnKE3Q0g5bmBjz7Qwg6DF0FrSTHOkw=; fh=t+x2+TgvRVQL6saRQSWsmRalfs8oQtSLKQQLcgmBj78=; b=qThQFftZ6/4AUse8fHBwNbSQuHCZKGN7V8chfn9Eu3CE1jiYasoH4Rd5FBut6tJlh6 hu8Zlawwb1xBZnGvhhTo2OwcXWiNw33t05qFC+6niTQVf7l8+62vahOVdhVDt8Ir0Z/x a/kxomZJOfk+TDYHPU6FL1wMqnprxqy2byd28/Ofj+8fmJ4vD8UIawghsjndKTXZn8/h +ilYHuFB1IsQk283PR/WmqhwX1CGrmsPqhhy8Uu8pm7T4aLjsgWnABOWVm4/PpIJ3ngI jFCbzg1kgd8/APcsntgn7GTrV4OdfVJkCYGdHyqOrHW1hC71IiWb2uZJuyvsziEF3uGU /jdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jY0oCY2Q; spf=pass (google.com: domain of linux-kernel+bounces-7658-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7658-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id zr13-20020a170907710d00b00a236b8004d2si279182ejb.193.2023.12.20.15.57.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:57:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7658-ouuuleilei=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=@chromium.org header.s=google header.b=jY0oCY2Q; spf=pass (google.com: domain of linux-kernel+bounces-7658-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7658-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 1DC131F248D9 for ; Wed, 20 Dec 2023 23:57:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B9094D5B8; Wed, 20 Dec 2023 23:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="jY0oCY2Q" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (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 416274CB55 for ; Wed, 20 Dec 2023 23:55:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-7b7f6caf047so7178939f.3 for ; Wed, 20 Dec 2023 15:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116514; x=1703721314; 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=06i8yMe3unqllEnKE3Q0g5bmBjz7Qwg6DF0FrSTHOkw=; b=jY0oCY2QW6zKPDJqJpJOqXHd3PRfdue/GA6fECqXaBquJjPXOnp2KG3IDeRaDEOqcA 0LUz1TlyIn7Kl2GW4tyaE7Zt/ZQx8F6LYees8joXLw4CthNDOQ+wn5+xuf5HZ2Hr3+G4 oL0/U9/1YLZH4UlA2l4CkVqPxDv7pASHgwNzo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116514; x=1703721314; 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=06i8yMe3unqllEnKE3Q0g5bmBjz7Qwg6DF0FrSTHOkw=; b=qG0N5AKcgNG6y03anHY+II0VMYSYHuC8smLA14Q0qHmlUI9ALBxkrL0Z48q4jEdLY7 lgxmVwIZrJpv8tR9WsWK4vaQZPrbBLvIXMhfNuVyYaMJJ1iAsr8xIGyRLUhj8UkHUYOm fhvy3zEdxdWqVEbawvoNgSJLcaaJ8RLGY24UCHnzYmKgDA/YHUw4SSRHkCtxrZiDKt4S XkEFI0MmH9OZ0JaxIAEi0r7W6WbvBpN25dGu7ZiS961puKLAF5sYivoxyeIWtj6EujLY 771EAaFDjgfCLeKcrdVMbv2uvl6OwocDz7tCPBQKjKqPn6v4tXi058NECrTaNu5xf8aw kfiQ== X-Gm-Message-State: AOJu0YwW6DdoLt2ljawPCvT1jVYiyPXSSm0xmeDsEX+mQFiG1sLBfE0D MOCZfnc2o2lyd6NROkaUmI+9Y3kCfoaRPqDzXIc= X-Received: by 2002:a5e:8b0d:0:b0:7ba:7de5:609f with SMTP id g13-20020a5e8b0d000000b007ba7de5609fmr1200517iok.38.1703116514370; Wed, 20 Dec 2023 15:55:14 -0800 (PST) Received: from markhas1.lan (71-218-50-136.hlrn.qwest.net. [71.218.50.136]) by smtp.gmail.com with ESMTPSA id bp22-20020a056638441600b0046b39a6f404sm177805jab.17.2023.12.20.15.55.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:14 -0800 (PST) From: Mark Hasemeyer To: LKML Cc: AngeloGioacchino Del Regno , Krzysztof Kozlowski , Tzung-Bi Shih , Raul Rangel , Konrad Dybcio , Andy Shevchenko , Rob Herring , Sudeep Holla , Mark Hasemeyer , Alim Akhtar , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 07/22] ARM: dts: samsung: exynos5800: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:21 -0700 Message-ID: <20231220165423.v2.7.Idc995ce08a52ba4c5fde0685118ddf2873fc8acd@changeid> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231220235459.2965548-1-markhas@chromium.org> References: <20231220235459.2965548-1-markhas@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785847239930988852 X-GMAIL-MSGID: 1785847239930988852 The cros_ec driver currently assumes that cros-ec-spi compatible device nodes are a wakeup-source even though the wakeup-source property is not defined. Add the wakeup-source property to all cros-ec-spi compatible device nodes to match expected behavior. Signed-off-by: Mark Hasemeyer --- Changes in v2: -Split by arch/soc arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts b/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts index f91bc4ae008e4..9bbbdce9103a6 100644 --- a/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts @@ -949,6 +949,7 @@ cros_ec: cros-ec@0 { reg = <0>; spi-max-frequency = <3125000>; google,has-vbc-nvram; + wakeup-source; controller-data { samsung,spi-feedback-delay = <1>;