From patchwork Wed Dec 20 23:54:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 181914 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp84849dyi; Wed, 20 Dec 2023 15:59:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHHzRR+iBQ5cm6m7pl9bi17O64yoB1jDJ7myscTSVsLyWIh5xgUtZq+3/hmkj4XNxoeBf8h X-Received: by 2002:a05:6358:7203:b0:174:6b47:c687 with SMTP id h3-20020a056358720300b001746b47c687mr688506rwa.6.1703116770438; Wed, 20 Dec 2023 15:59:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116770; cv=none; d=google.com; s=arc-20160816; b=bfOGBcJhGCbFdhwjzH7jkeGEE0LYnv9g2/LHHr3xFnx4RiiYC/bmVVphAm3cfFumpc S8NbhDe1bV9kPRoyaIkR+D981r4s1v/sGflnvezs3YLjj/wpSBiVQpdMYpZxZrb0HT4E SXxC+apUnhW0M/Qc1/23/P4Oen6kAQzVtmt2LjzA/xJdGQBwJOCrSpQ7n1uCZrQ/TnWi iEYoA1FUzxeUJ1TVQbb9cZD9rJ35Nr7ueAk7ScCAIB9sYalDtWPJOsUjYYgz6d1yOc8x uPtCPbi+kMwOXBkLgRaF8rSH86XJT43nCuxStGLTUxDx1rqRMb+gW6sLci7ExuNwuPrJ BzXQ== 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=wJduS/1fJUByj83cmxVS/XQjbXOMlAAEnEEqFMZKGGY=; fh=DoMYUhl5tOTLVRet2nx3vQSkG+qPk5uG7MWTiNxxD1k=; b=tsrIj6LXqW1tSlpcf6UUZcuu/mgxvJ7GLwObiklNgnxiRtpLc3ECv7XvWkJ/712KIo GAHlb7SsQqnizPfmfYMHuJmOY51XCXo6IC++2uoB0T2a80Cf1UcHmQmXsbDQWkgjH4ZF RORk35mvi/n0QE1SZdsMBpndKg7nOOAIcXRFjG8b/PdISDZfuraGY82ticCSkBEi9NSF UYrKUcH8hDy3z9C6O7fqsjoFqS+8CrqR3/tgUKdzuT0NJzojMe/Oqjuul+QZezUwaJHf TaSqbymRiR+vx0vofwXWU2fe1ASS1O3K7dcD+2IVIY/0tAzg5LYtT1zaR2HLNzCpABPg h9JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=m67xZNrj; spf=pass (google.com: domain of linux-kernel+bounces-7665-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7665-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y6-20020a17090a474600b0028baa7805c7si604405pjg.135.2023.12.20.15.59.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:59:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7665-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=m67xZNrj; spf=pass (google.com: domain of linux-kernel+bounces-7665-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7665-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F083F283FDF for ; Wed, 20 Dec 2023 23:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A79EC4F605; Wed, 20 Dec 2023 23:55:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="m67xZNrj" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (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 C37594E61D for ; Wed, 20 Dec 2023 23:55:20 +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-f44.google.com with SMTP id ca18e2360f4ac-7b7fb34265fso9423539f.3 for ; Wed, 20 Dec 2023 15:55:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116520; x=1703721320; 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=wJduS/1fJUByj83cmxVS/XQjbXOMlAAEnEEqFMZKGGY=; b=m67xZNrj+bACUTayQ8vCk89bCG3aJ28wj3+AqWdfhb/qVO+YiEUYCVbWttmog6/dUg HBvQxuQO+CNyNoc4yCurTN7IgCziZZIwczOJmGTNJwYjCeA8UsJJSwwvt2z74jDeDdW8 4uiIE/nnmHJxzfBWYUAEQqrJmekZ923LqZHuE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116520; x=1703721320; 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=wJduS/1fJUByj83cmxVS/XQjbXOMlAAEnEEqFMZKGGY=; b=qy05l5UQ0mCbzYj8AYI41P9ffhM6nPrreEjbeoXPiIB4vlWOUPRsXKjgP42yjCiyPG O0yDgOTZYswr7bEPVLerEhL9KdE269SRbTRbzdPKTa0WSoqCY6OWNL5Ngj2PAgvCGFQm aOl89XKhkNQn6lLKX70KAMyJpj0r0qH9at+yT7Wz5xqj4CpXK9l/BrekHkIpp3Tzbc3z FeK0ePzq8zrUA8yBM3JClenB1L6DxR6v38kYkPbHRLbZCvmjNzv8MAigwa9v7tMjqj7i U1e5tb9/Pi9F2l/KiWjp53EawCLzkKoxFjhaBZLSeV8qMf9xFYywZA2PnknzPRDWkAsz KRJg== X-Gm-Message-State: AOJu0Yx3WYtm8zGDPBM0wlpV8h9kMiJQ5c61hN/44PAUhxnyVvOT2y0r ZUyKMPjuDQ3jXzzh1Va87EIg0XNBWrxSwVEEHPs= X-Received: by 2002:a5e:8610:0:b0:7ba:753a:ed0a with SMTP id z16-20020a5e8610000000b007ba753aed0amr1782436ioj.16.1703116520055; Wed, 20 Dec 2023 15:55:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:19 -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 , Bjorn Andersson , Conor Dooley , Krzysztof Kozlowski , Rob Herring , cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 13/22] arm64: dts: qcom: sc7180: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:27 -0700 Message-ID: <20231220165423.v2.13.I2ee94aede9e25932f656c2bdb832be3199fa1291@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: 1785847370741586332 X-GMAIL-MSGID: 1785847370741586332 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 Reviewed-by: Douglas Anderson --- Changes in v2: -Split by arch/soc arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 46aaeba286047..f3a6da8b28901 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -649,6 +649,7 @@ cros_ec: ec@0 { pinctrl-names = "default"; pinctrl-0 = <&ap_ec_int_l>; spi-max-frequency = <3000000>; + wakeup-source; cros_ec_pwm: pwm { compatible = "google,cros-ec-pwm";