Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp623173pxk; Thu, 24 Sep 2020 14:08:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQapf2JtVmML4rUyJKiLvopUvyIkg4mpIWGkbogL/9VhiJ2N46DRAqAtSRCM3+yICt60Ou X-Received: by 2002:a17:906:30cf:: with SMTP id b15mr504252ejb.351.1600981716738; Thu, 24 Sep 2020 14:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600981716; cv=none; d=google.com; s=arc-20160816; b=Ny7aqYNv8dpd5KcmYXhUnSo0bzOkyJNYg9GDK62poXfBEMA0boIPdBEyvpYejvYQfi Mt/LUU9BK0igS0BUbzTUhI2GwQNuiFDYcJ0v13z8egGapftm2ErUqYQoa4PnLAYL/fvX 6jo/NwffhyWEYDGTF3/ni5Lmu0pvy9gXw1XXrgT8had7jq9LiXIHJn79EEBf/YuB/pcm NorFBpHM8WtC6U91mcDYQH4t6sZq2+glZ9wKKNK8wGy///tzLIfKxoYJE9+DejbjZOSW VlQYqBnCvJ7FFxdZrcxkid1CSQ3HKI0xMlpadDpEh6EeUCaOhxBRsWjAnK43BWOtkWKc xqIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=rkxYLB+lfWbz4FohLDcSfT4fdzwjyILNCZtO54fvfxI=; b=MQs9FntBHrafts1DXq2U35dvJH/9SqoLFzP9iAmbWvL2O7eMbCdzfiqo3qqEEAw7ya jygyRuNGv8O0SKkqaTZ7vda9cn8eybdzfRJV67URTJpS1Sss8Cv8sLD0Ittj223/QxPR qbLoAEmCuEPxHkU6WZWqPb4/4TY81fSxSvsjxyChs3awPo3+30/Ljm4lg+qKFYNBd4HX f2LLy2fBoS6pM1HBsDMIn+nNmeZ6s0HwcH0fLQVfRwkVeUhlZwZb9UiDteURoa3rF05V we7EVapOA6BqI2GGjK7P7aQx+581+mk5ISSARToMSIuivloYqquNdNG5JixFCF81u574 O43A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b3e6P0jA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c9si402067edl.424.2020.09.24.14.08.10; Thu, 24 Sep 2020 14:08:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b3e6P0jA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726382AbgIXVHG (ORCPT + 99 others); Thu, 24 Sep 2020 17:07:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbgIXVHG (ORCPT ); Thu, 24 Sep 2020 17:07:06 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C62F8C0613CE; Thu, 24 Sep 2020 14:07:05 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id p15so130884ejm.7; Thu, 24 Sep 2020 14:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rkxYLB+lfWbz4FohLDcSfT4fdzwjyILNCZtO54fvfxI=; b=b3e6P0jAHc8fH18e6EnBasnbrSS1Y89qgdBYDQFnRKGmFP41FMVRypE94oPHjgX+Hx hdiNvUUOhHYZqft6UYcpKYV43DwrASN9Vr6pJWtbAI9rkU/riEWtdQrhgUwz1pORMC9s YBLDDIk2o9eQzjC27luzrfPxr53HqqOQs5WGBVhLek/efR5xasv5av+tyueAcfV7kjGn DHShoSHhuIIgDhzMMYl2UC/0A9Xd7n5vfjbH8T7lVZKwNO5MifIBPQzXfwef3ciYswjA UaUj1DIKnx50aivBXGCKZYQz7oJt0ZkbV2y2PCUG+XtkVqjMq+F2pDLKbioFbuPcroz2 bjrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rkxYLB+lfWbz4FohLDcSfT4fdzwjyILNCZtO54fvfxI=; b=SlADdq8/hhDSloa3XSkMqPEH5dO6kU3hGD6OxuLazuP0YOR0/SWEMdUwuWqY57q5fP obOzk+sfnqNHBvuoEHlyLhlF9Xz005xn8okZpwmTKKwfHyWVYIY8v8E9SdFk6MrdlX8k bBsSczop6lLkMNBZkciVq8ogICI9v29iBQPX/smR7yk5cjy2jmOn+E9P8rbU47eBbmLN BuMdyKTnYHSxCV4RiuLDYCiehx1n6dM+F1jQTZOMFOHdffsYZj0LDAu1sm9BYE2Yeq0t lxjHaEwfTzf9fBlnl5awjPah/nzZtmJMmRKNdLt/0Awj1QktJH+w/F/sOQicDLyTHxxp SGdQ== X-Gm-Message-State: AOAM531r3U3k2bgVDIMM4OaPsRl3XTjXeknz1iuJgt9t/DAGWpxq1ehM iaA2I6U7Z/FeBrNdghp6ALVzlEMpQHw= X-Received: by 2002:a17:906:29ca:: with SMTP id y10mr499729eje.327.1600981624057; Thu, 24 Sep 2020 14:07:04 -0700 (PDT) Received: from [192.168.2.202] (pd9e5a9d2.dip0.t-ipconnect.de. [217.229.169.210]) by smtp.gmail.com with ESMTPSA id t3sm257414edv.59.2020.09.24.14.07.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Sep 2020 14:07:03 -0700 (PDT) Subject: Re: [RFC PATCH 0/9] Add support for Microsoft Surface System Aggregator Module To: Arnd Bergmann Cc: "linux-kernel@vger.kernel.org" , linux-serial@vger.kernel.org, ACPI Devel Maling List , Greg Kroah-Hartman , Rob Herring , Jiri Slaby , "Rafael J. Wysocki" , Len Brown , =?UTF-8?Q?Bla=c5=be_Hrastnik?= , Dorian Stoll , Darren Hart , Andy Shevchenko , Platform Driver References: <20200923151511.3842150-1-luzmaximilian@gmail.com> From: Maximilian Luz Message-ID: <0a861a86-e9eb-668c-f725-46336b48a86a@gmail.com> Date: Thu, 24 Sep 2020 23:07:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/24/20 9:38 PM, Arnd Bergmann wrote: > On Thu, Sep 24, 2020 at 8:59 PM Maximilian Luz wrote: >> On 9/24/20 10:26 AM, Arnd Bergmann wrote: >>> On Thu, Sep 24, 2020 at 1:28 AM Maximilian Luz wrote: > >>> Note that drivers that connect to the bus typically don't live in the >>> same subdirectory as the driver that operates the bus. E.g. the >>> battery driver would go into drivers/power/supply and the input >>> would go into drivers/input/ or drivers/hid. >> >> Right. I wonder if this also holds for devices that are directly >> dependent on a special platform though? It could make sense to have them >> under plaform/surface rather than in the individual subsystems as they >> are only ever going to be used on this platform. On the other hand, one >> could argue that having them in the subsystem directories is better for >> maintainability. > > Yes, absolutely. The subsystem maintainers are the ones that are > most qualified of reviewing code that uses their subsystem, regardless > of which bus is used underneath the device, and having all drivers > for a subsystem in one place makes it much easier to refactor them > all at once in case the internal interfaces are changed or common bugs > are found in multiple drivers. Got it. Thank you for bearing with me and answering all my (probably a bit silly) questions! I really appreciate it! Regards, Max