Message ID | 20240301084901.16656-1-eichest@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-88114-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp946292dyb; Fri, 1 Mar 2024 00:57:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV/N4AhD/1eu3171GIdtqlghw7VgAGLdidd+FCl6n4QPFRxdvveKiHIPtbCPM0fWmyRcr91hcXO7Q0L2+iMqkaZ9/GXHw== X-Google-Smtp-Source: AGHT+IHyiEqYp6GAEFAqCsR8ZYYCOWN7tD+hwLASi4Z9AqvyVeZBRd6tdN0qNTtn/RjedQioPuWX X-Received: by 2002:a50:c8c9:0:b0:565:a6a4:2ecc with SMTP id k9-20020a50c8c9000000b00565a6a42eccmr873496edh.2.1709283467068; Fri, 01 Mar 2024 00:57:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709283467; cv=pass; d=google.com; s=arc-20160816; b=ywZc9wl9X7H+sI3oNhp4qAw+zvA1WSdH30imcitDjhfqJlnwjba2dLoBxxw23GFSFM jvcxFGYv/c3/3fAwi5Vll0FG7YT+Pz1d7NK42eEKNWcjOvDeHdofTqFROaeL78sdfABi fe3hk9FfBneZNpKOSv4IUfgJZabEPVBjwscT5CJJyGylBgW5iJaZRxkq9OeQXq/rFvbm 3dZPznLUeYDMTJxGkyflnj9cOlQN5v2HBTXl5YkazVTfmuKe1EL3zNvIq5hlFz/JASUH zAUi35N1XbXJ0oCW6+MU5iM8N+CT0COjkMQgQE2LoPi6HrrkaFw16jsS5Z4rE8aP7niG NOVQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=jrYRSAUoeQ8J5WS8v4YJVTlbKwPXfvoBkY+Nt0CJRX0=; fh=ploAZGj+bOQi8edQ0nvz+fiZYjimzfS5W98d0rVzKYM=; b=YDKPcHJLa6ZGDPK1R17ucgtrQ/UKnzzWhWfN6tewLbDmxiXQbeC6tcb9bJJibYya3x nkB9kmZHXtu023d935ET0Y8V0qJfWnpAG/zjMecn96JNXLc6q8buy4dZQPFtqgXBbYHs vEaFcR1aiQesAEgn9bVi2jV5K7b4YgthWrpGgj7k5ApASJKSxzDvKxn6qOqBXb0H4c60 88rpikOvRwVvJCMJDbvpTqmA6qyA4FV6ndQgezGa2brzQzLvShLc/gAZ0HpFW5ultFvJ yQOoEiUitXXw4sHcAMAFbQ/pysvpX3DE7jhNb6j4cdo3XJ1UVNieW7g8UjZc52uWxjcV 4X+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=W24gBmbu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88114-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88114-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a18-20020a05640233d200b0056401fef045si1305496edc.362.2024.03.01.00.57.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 00:57:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88114-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=W24gBmbu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88114-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88114-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 008FC1F297C8 for <ouuuleilei@gmail.com>; Fri, 1 Mar 2024 08:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66AD76A8B1; Fri, 1 Mar 2024 08:49:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="W24gBmbu" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 194076A032; Fri, 1 Mar 2024 08:49:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709282967; cv=none; b=fvqJBamAaoHOHMcsuh4mKTliZTKbhlTkBNkg38Kt7cVRsU/KRF/gs4YrHtvu8FwqpO4RCw0vYgUMZpx+3kwhovzVqXuQhYcKupERyMbpYJgvZwYN5baLAPMYkMIi6XLd8VSbobDI1UXkxuKAoAcYjw4mT6e7coYutmEnX2dTzAA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709282967; c=relaxed/simple; bh=gbWWC4K9eTGH4dhmTQDU1bh6VuuTU/OkgdClr0lTnKo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=HVzduVdceHokYIa8N/us1/TDo0kcZsl9ghTiXQidSuhNIh9mWR1IesgtiaUNjUB4aGABi1M1ovIypNtFXiyt+3ZGP9h9jLQXtEpoN+zB/gH/BibnnUqvXqAXE8onP1SZ6qB9mHAQOdklimLvRdCDBIhRBWCHYEBdLR4qLUPpIqs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=W24gBmbu; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d27184197cso22533621fa.1; Fri, 01 Mar 2024 00:49:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709282964; x=1709887764; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jrYRSAUoeQ8J5WS8v4YJVTlbKwPXfvoBkY+Nt0CJRX0=; b=W24gBmbu82hSLEg2+ZcJDSG5apM9JwxrBBtuTmW57P54hQmB8aBW/0lNJ2lmuhArBu 9+WN6nFOLl0c10ynOVCuGDgqA3o5i1mRwK33AYHUbaev8MYSrhy90VOT3JeXEeJdYR2y i1BC9vDoxI8Y8mdk9ElgYHEZMGgV2OPufuY6DSA6L1YymUUABHFtEwQ6ZKIA3hq8Tp8F oEz3V7rF0fhiDwNQD+qozwkIs9EZL4gXMgv8iwjPMbbZJe9FQz29qKCFA3PIm0UDmcMb /uWFcYRWsg718iU7xejNs0Q4tbgJ4Dwrcj79aylv6O04DC7wtY0L7BuwyEP89svMsGXJ psSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709282964; x=1709887764; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jrYRSAUoeQ8J5WS8v4YJVTlbKwPXfvoBkY+Nt0CJRX0=; b=Y66E7H5MT4dZIB1P8PIxQr2Ey3ImBnBFYYyjE2heq2GT6GxrDUnZe/jooyx+VsjdVu 9KuSFbznarU+B3bKMNKSpmetuEHXgyi4v8v6m+se+ifsMAoVN5bckh613gmaFWKvtscM 5qrPdCztVVwUWBiTZEIchnzXpRyrDhwS3GF8Cv4bZPHGtYZeUJnWfyaH7uVEWHZq2q1D 9Gq+TExrq04w+Un2zmmER/nOzvUagyl+oega3vFXgoHN0htT8xdj/wmNq7EEhOh0/S6b BRWcpw1MpwUmzIE3ShGZfDeuggbIbCdalMoWHqmPxVNXeG0Z6+rPSsc7n4Vanef13IWI vHag== X-Forwarded-Encrypted: i=1; AJvYcCWU/iafyIwYCTExAwVxNGL3ai7XPMlEp9HRwr3AO5nMkKIN0FoJrQd77xRXnxaUk+hevNZ8KYbLoom06bZWT6mbrCH3nOx6Umik6I7kFJSzCP9Yz8UTXDD+AnpFyetqRGhGBuj3ZkZZzw== X-Gm-Message-State: AOJu0YwjldJvNBtudf7sAf68ynCFtDbMLFYjV4HifzACZjxrAWtRFTcN hEo6m5atjlqtnXniejNNt7RO163Z7AA4dznzNN5SIEwh+ruHIVi8 X-Received: by 2002:a19:4359:0:b0:512:9857:34f3 with SMTP id m25-20020a194359000000b00512985734f3mr719899lfj.39.1709282963921; Fri, 01 Mar 2024 00:49:23 -0800 (PST) Received: from eichest-laptop.toradex.int ([2a02:168:af72:0:46fd:a61a:68:ed87]) by smtp.gmail.com with ESMTPSA id 4-20020a05600c028400b00412b10ce488sm4583566wmk.23.2024.03.01.00.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 00:49:23 -0800 (PST) From: Stefan Eichenberger <eichest@gmail.com> To: nm@ti.com, vigneshr@ti.com, kristo@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, francesco.dolcini@toradex.com, Stefan Eichenberger <stefan.eichenberger@toradex.com> Subject: [PATCH v1 0/2] arm64: dts: ti: k3-am62-verdin: add sleep-moci support Date: Fri, 1 Mar 2024 09:48:59 +0100 Message-Id: <20240301084901.16656-1-eichest@gmail.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792313620748728473 X-GMAIL-MSGID: 1792313620748728473 |
Series |
arm64: dts: ti: k3-am62-verdin: add sleep-moci support
|
|
Message
Stefan Eichenberger
March 1, 2024, 8:48 a.m. UTC
From: Stefan Eichenberger <stefan.eichenberger@toradex.com> This patch series adds support for sleep-moci to the Verdin AM62 in combination with the Dahlia carrier board. sleep-moci is a GPIO that allows the system on module to turn off regulators that are not needed in suspend mode on the carrier board. Commit ba9d3cd71f15 ("dt-bindings: usb: microchip,usb5744: Remove peer-hub as requirement") from linux-next is needed to make DTB_CHECK pass without peer-hub set for the hub on the usb1 interface. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Stefan Eichenberger (2): arm64: dts: ti: k3-am62-verdin: replace sleep-moci hog with regulator arm64: dts: ti: k3-am62-verdin-dahlia: support sleep-moci .../boot/dts/ti/k3-am62-verdin-dahlia.dtsi | 22 +++++++++++++++++ arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 24 ++++++++++++------- 2 files changed, 38 insertions(+), 8 deletions(-)
Comments
On Fri, Mar 01, 2024 at 09:49:00AM +0100, Stefan Eichenberger wrote: > From: Stefan Eichenberger <stefan.eichenberger@toradex.com> > > The Verdin family has a signal called sleep-moci which can be used to > turn off peripherals on the carrier board when the SoM goes into > suspend. So far we have hogged this signal, which means the peripherals > are always on and it is not possible to add peripherals that depend on > the sleep-moci to be on. With this change, we replace the hog with a > regulator so that peripherals can add their own regulators that use the > same gpio. Carrier boards that allow peripherals to be powered off in > suspend can disable this regulator and implement their own regulator to > control the sleep-moci. > > Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>