Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1003558lql; Tue, 12 Mar 2024 04:56:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2ivofpJNwZwXjd4rtvMNNHKIvckx5CqyLKYwdK4bMaX+k8HusLBNZWppoQqWSdZaBDWB+g+QyUmV9mtMSJIFSA4wODLBGZ3caIbUpwA== X-Google-Smtp-Source: AGHT+IFxf6OsxbmsBnMLVzS7AbliMzdLU06ayzoJwh6flZ0d+R4KZ6a7yIEgI3IUcqAKAj7t7rHh X-Received: by 2002:a17:902:b710:b0:1dc:78ea:1cf with SMTP id d16-20020a170902b71000b001dc78ea01cfmr2778629pls.58.1710244576977; Tue, 12 Mar 2024 04:56:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710244576; cv=pass; d=google.com; s=arc-20160816; b=DXeX0MyqyKIasc73Qr6826mFDJPkJsV8KzFW/U5QNlO6XyQ4iSz1ktQszf0i9CxUND yfjvNRZeAeSxfuNn03uoi8wrvEWOvCAFwXJ1b5B72wpKuFYf5RFRLBws4Oeiyv6EGg65 HT64hg0NmHamMud2EuIJSE5JGSCtk+fUbBVLEDpjtzRTCrwyuc/tcbuOGdF0TMUsqepE K6Zzh5OXkOjKmswawDDvccyZcjX8F8+NXmTOrjzh74l0+tER7BO+pTI5C3eioM+l9JP/ mdpyLP2wUYuQJ9hUFheiOoiaQ2mtJrRsgMMuw6QZQnHT6GcB/Qq9bw/SN5soOHzYK8SU YtGw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=zuIehJCj4j6LGKoG0UIVTaPbANgdGTTV9cnylXVWJI8=; fh=e2aJZzSjbzc4ouOGyrOghKaB1VVjAcDD6pbSWFNS3pc=; b=JPmlJrE0fGjHKxRHP6F+xBXo/UkZxKrmBRmvR65zyl/Xj1PypEY8Df0RUXnWfnO5nw zIPxJB8AWQHqUGgkaZ07Nc3sPRLZUpwCaSdx0NmGcqA7LFYLcM5SLhtaSHQxmLrC2yBz BQBYDaggAlWdO2m8xsB8lpWENOQ37RQnTD/UjYYmULVG4KE9cLHi/TvNoBjmlUHzqI7E lndjSaTcaMw0hZI1xI9b1nGo0asP8ZHoU4N/SOald6uU6mgYw2o7uO/jbKX6j447rTji CJDfiJXfReneHSgHL7JdT+Hrvk2fi04XltsNKj3R0Z7Q8ggWdCmrFYFZdjc7n57xBEi/ Ok3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=b9LbA1nX; arc=pass (i=1 spf=pass spfdomain=trvn.ru dkim=pass dkdomain=trvn.ru dmarc=pass fromdomain=trvn.ru); spf=pass (google.com: domain of linux-kernel+bounces-100197-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e17-20020a170903241100b001dd97ce4a97si4324391plo.166.2024.03.12.04.56.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 04:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100197-linux.lists.archive=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=@trvn.ru header.s=mail header.b=b9LbA1nX; arc=pass (i=1 spf=pass spfdomain=trvn.ru dkim=pass dkdomain=trvn.ru dmarc=pass fromdomain=trvn.ru); spf=pass (google.com: domain of linux-kernel+bounces-100197-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru 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 A8A77283C8B for ; Tue, 12 Mar 2024 11:56:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F4DC79DCA; Tue, 12 Mar 2024 11:56:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=trvn.ru header.i=@trvn.ru header.b="b9LbA1nX" Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) (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 B499E56471; Tue, 12 Mar 2024 11:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.87.146.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244567; cv=none; b=bHydrDmT76TuhVlPV0jeMaNBOa8EMjk6hkUS1ykj84SnjHyzCKaODW/APgPJccIRZ6Prm8XRGW/PEFc4pDZMHarCDEskiXSynx9QCDLPiZpzV8400J49LS2xojaixs9Wrx0NtbQ2iwSx88XQtWuTi9r0gc7QAL/g7FzJoOJwRqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710244567; c=relaxed/simple; bh=PQ1onOCNmoZb1WuqiYG6mAiWg8oiBlv8sMZhEhOIYKY=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=LvNIwFhJgQtv0zL896aodkWt6/7fVAX8UlE3gY2VdkRmGlkpBc7aLmj5/7PFxDbBEpkI9q7nBvKk3trJWONcVhUrRVoOWnc+vA084d8WW0OaHONYe7PbZXqkKLTZPUaKKZi+O0kPYJ2NryZwWhE6AMMsg1J9P5jBZu9CWtj66fI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=trvn.ru; spf=pass smtp.mailfrom=trvn.ru; dkim=pass (2048-bit key) header.d=trvn.ru header.i=@trvn.ru header.b=b9LbA1nX; arc=none smtp.client-ip=194.87.146.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=trvn.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=trvn.ru Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id 4D5C9400F9; Tue, 12 Mar 2024 16:56:00 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1710244560; bh=PQ1onOCNmoZb1WuqiYG6mAiWg8oiBlv8sMZhEhOIYKY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=b9LbA1nXQS7ZXbM3dG8CTpXPxZlSykZXR39MuuUxOMG45JbPXtqcATRkzKCI14UqB IVDhXsqErW0SJ+8jLlHmuXcSUaRp36hw1Fa0SBv5YLRdfiF59pD68VngE4xQYTloyq hFfluotxz7MEhTWeyTe1i3AQUrDapEYEXicOlr0X92X6I3Xw5oZkQjg36Ih8LzlZsA 1X1O4LS8hhNOaOaaKlY1RkzxrziPm37E1Z9x6jGSy4RZk8R9wkRq2ZKQGRmcuieCTl MDx9jzLZdBxcSP1V6CGY953aotJh4RWoOefsRcDzMTAaA/bH/2adPSekss4QKhVSe5 IGfQ04BOzkSpA== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Tue, 12 Mar 2024 16:55:58 +0500 From: Nikita Travkin To: Bryan O'Donoghue Cc: Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: Re: [PATCH v4 2/4] platform: Add ARM64 platform directory In-Reply-To: <5d4434fc-862e-4430-a2a0-758887d7596d@linaro.org> References: <20240312-aspire1-ec-v4-0-bd8e3eea212f@trvn.ru> <20240312-aspire1-ec-v4-2-bd8e3eea212f@trvn.ru> <5d4434fc-862e-4430-a2a0-758887d7596d@linaro.org> Message-ID: <7ecbcea00a4b59d7afdb529dce12801b@trvn.ru> X-Sender: nikita@trvn.ru Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bryan O'Donoghue писал(а) 12.03.2024 16:36: > On 12/03/2024 08:42, Nikita Travkin wrote: >> Some ARM64 based laptops and computers require vendor/board specific >> drivers for their embedded controllers. Even though usually the most >> important functionality of those devices is implemented inside ACPI, >> unfortunately Linux doesn't currently have great support for ACPI on >> platforms like Qualcomm Snapdragon that are used in most ARM64 laptops >> today. Instead Linux relies on Device Tree for Qualcomm based devices >> and it's significantly easier to reimplement the EC functionality in >> a dedicated driver than to make use of ACPI code. >> >> This commit introduces a new platform/arm64 subdirectory to give a >> place to such drivers for EC-like devices. >> >> A new MAINTAINERS entry is added for this directory. Patches to files in >> this directory will be taken up by the platform-drivers-x86 team (i.e. >> Hans de Goede and Mark Gross). >> >> Signed-off-by: Nikita Travkin >> --- >> MAINTAINERS | 9 +++++++++ >> drivers/platform/Kconfig | 2 ++ >> drivers/platform/Makefile | 1 + >> drivers/platform/arm64/Kconfig | 19 +++++++++++++++++++ >> drivers/platform/arm64/Makefile | 6 ++++++ >> 5 files changed, 37 insertions(+) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index b43102ca365d..ec8d706a99aa 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -3050,6 +3050,15 @@ F: drivers/mmc/host/sdhci-of-arasan.c >> N: zynq >> N: xilinx >> +ARM64 PLATFORM DRIVERS >> +M: Hans de Goede >> +M: Ilpo Järvinen >> +L: platform-driver-x86@vger.kernel.org >> +S: Maintained >> +Q: https://patchwork.kernel.org/project/platform-driver-x86/list/ >> +T: git git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git > > Surely some sort of Arm specific mailing list should be added here ? platform-drivers-x86 for arm64 platform drivers standalone, makes little sense. > We agreed with Hans that pdx86 list/tree can work for EC drivers for other platforms because many maintainers familiar with ECs through x86 are already there. > Perhaps for each new SoC class added - you could add the appropriate mailing list linux-arm-msm is suspiciously missing from the list even though the only driver that will live in this directory after this series is a qcom based device. > > And if tomorrow someone added a Rockchip based EC controller then you'd assume the rockchip mailing list should get a ping. I believe that even though those drivers are "board specific" (Hans asked to only include EC drivers here, and we have soc/ for other things anyway) they are not at all "platform"/"soc" specific, so I'm not sure adding arm lists here is a great idea: I don't think these drivers would be too specific to the SoC given it's just an i2c peripheral most of the time, and considering that it seems there soon will be many WoA devices with socs from many vendors, we would just have a collection of all the arm platform lists here... So even if for now, while all existing WoA devices use Snapdragon chips, we could get away with adding linux-arm-msm, it may end up just spamming all the platform lists for no reason when the list grows... I think it's better for the contributors to CC the relevant list for their board themselves, which is easily done implicitly by adding dts changes along the way, like in this series. Of course if you and other people on linux-arm-msm are fine with that possibility, we could add an extra list there and see if it gets out of hand. Nikita > > --- > bod