From patchwork Thu May 23 08:02:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 1938223 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=wkNDQulX; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-68596-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VlLHz283Jz1ydW for ; Thu, 23 May 2024 18:02:39 +1000 (AEST) 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 EB67E281C64 for ; Thu, 23 May 2024 08:02:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A41C413CA89; Thu, 23 May 2024 08:02:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="wkNDQulX" X-Original-To: devicetree@vger.kernel.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (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 B176538FB0 for ; Thu, 23 May 2024 08:02:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451354; cv=none; b=gabnGbA4al1njYdwFN5l+oH9oyj61K/1JKt4mvgkmDmIahb61QZxgCgHq3XmI+Sh8fWh0Bd28J3IPP1Mr7v0IGaiUcSZncsb2hFwGMRvGvBry838psdFpRsE0VcbqMmFVF/7mss9oB3zK/5UBvIh3icDqshkHiIO6VgO2S+EcTA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716451354; c=relaxed/simple; bh=93BkviNCvSQMI5hCOWWFbJYlHSfKWs+OCnF5mCnvmxg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hAfEVF6aTXE7FDs/N1+LWT0N4/6Rrzms/Ng14Fo5VUR3f9CWVrodHzGCLU8ntx8EErztt7fGL0vgHqP+SfOVW07JmH5xnIDDB4Cdm0wXTdwEZ+OVYmkQxNhmzPo9Ix7ac7xj3PxxyrOQjdeq7tMCI3Sb9dwSEMxE+IQJNIlBMjE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=wkNDQulX; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-354f6ab168aso302048f8f.1 for ; Thu, 23 May 2024 01:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716451351; x=1717056151; 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=hvk4HIZY8LHEcAUwcSCVMUiBIBW/hN1J4i9rPXs1rgU=; b=wkNDQulXNVjFwQp+Jmnx4X0GJKh94nyCsuDjeb4tYWZY217Dvb2k1LmsV1djAMlv05 n08m1EG2pOuzd366FlsuoB00eObM7Ll9VNxGX8DBdMA9+ioQsmgoS3WZSs7wU6sImhLI g1WeSEizbh+Edm5/qe4Ja7yJoCoAbK7JjwezObweO6dBOyAAvmtJ3a4DpkLclBiCCLcQ KZXA+vXELbkQoPU5Zb8imFcEiCIHLlX93ZJlY4eK9yoMH/+BZdbuPUbK7qNKQ9Cq6f8c DYG1otQyxeD02VKSx1aTKZc3cdd+W/Ja54R5S15Xu0HD5UTSzlEWL2FuSDdI8dxWDWhl fAXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716451351; x=1717056151; 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=hvk4HIZY8LHEcAUwcSCVMUiBIBW/hN1J4i9rPXs1rgU=; b=ndlrVPut9ASYtmsQAIKNaPZlE1eYF8wxoYHn+bzFi0K+ujsMLK0J/yAbedu3bhI3Ih EWA6i0n/YkwvKpWqy3jqwHQr6qCNBmkS6y1ZxuefZWLQS1Gw5IXSVxCGHb0M4SwgtPyH rgUjHHJ37sSPC3dX3eGWuUv7JZTK2bB7Nd7SPe3qyZO5b+hMuqnThkDqp3KKevf9MjT2 cW38qoqP/c69jcu+/2NHp6duY1MVJgW3AkXuh46MPk7bWxDka1vO18roU6GQiWHX+5Nf ojsieoUExMPsJLiXLhvUvWs3jjgcg1TJZU3RKUzFV6wD+1bQvJCWFLztUi3wZ3qDBrSN H6Qg== X-Forwarded-Encrypted: i=1; AJvYcCWDnreTNUK3ULaGirKc9lYMvCf+gfBZBm7UmVIdRk91zd00ZF6I5jzf/KPv/Rl9pnV/J97mhrLnxJRPrWQebEH4NptU28Esxpal0g== X-Gm-Message-State: AOJu0YzrAZExPZqMikME1wdK9x85C3KA8JHGP8nmEw3r3ut7qKZR8rel 4h5lZ63Omq0MPM91h2zp67K5+NQ5vJvmhvWotUdnjzlEI4RlBY4tnt1fKrGa3MU= X-Google-Smtp-Source: AGHT+IHIDpueviEXVOQCfyMIdb4MDOW3f6eAQ8UhH17w3HoGPfjSwbQa24Vo8LaaSg9UtVgFg6tSMQ== X-Received: by 2002:a5d:456f:0:b0:354:f46c:856b with SMTP id ffacd0b85a97d-354f757c1c3mr1444427f8f.28.1716451350801; Thu, 23 May 2024 01:02:30 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a246:821e:6f3b:6b50:4762:8343]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35501abfdddsm93637f8f.110.2024.05.23.01.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 01:02:30 -0700 (PDT) From: Markus Schneider-Pargmann To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra Cc: Vibhore Vardhan , Kevin Hilman , Dhruva Gole , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH 1/6] dt-bindings: ti, sci: Add property for partial-io-wakeup-sources Date: Thu, 23 May 2024 10:02:20 +0200 Message-ID: <20240523080225.1288617-2-msp@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240523080225.1288617-1-msp@baylibre.com> References: <20240523080225.1288617-1-msp@baylibre.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add a property with an array of phandles to devices that have pins that are capable to wakeup the SoC from Partial-IO. In Partial-IO everything is powered off including the DDR. Only pins belonging to a couple of devices are active and wakeup the system on activity. Signed-off-by: Markus Schneider-Pargmann --- Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml index 7f06b1080244..c8ed0dd4fee4 100644 --- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml +++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml @@ -61,6 +61,12 @@ properties: mboxes: minItems: 2 + ti,partial-io-wakeup-sources: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: | + List of phandles to devicetree nodes that can wakeup the SoC from the + Partial IO poweroff mode. + ti,host-id: $ref: /schemas/types.yaml#/definitions/uint32 description: |