Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp75722pxb; Mon, 11 Apr 2022 19:18:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbqLNx2SbC8IpJ2aPBvvgpunGGz2p/Ymov7ECTl3JgSHGyN/w08l9TzykPsgRpbJjx724c X-Received: by 2002:a17:907:72c7:b0:6e8:442c:1722 with SMTP id du7-20020a17090772c700b006e8442c1722mr18949519ejc.120.1649729892323; Mon, 11 Apr 2022 19:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649729892; cv=none; d=google.com; s=arc-20160816; b=aEH+KO0SiInNZzAoYv+V0oRwGDD7Ra/jntlK/pLXaKPphh1oeJH9gV6o47RHX1MEZg ILnZA0PAfgyFxye2p4LI8iXPoNj3G9GFngvJnkNbf0JRFL7xwjOE84XqRA1see7NUhST 6P9jLr8RwM9FoAEMKLmPvjimPlYVKppROuTxgX2AbDdBzBSXFsu5n+RNhiT5FBND6t6w eJCZIK10TjNy8L1Zf/LUwzzCRC6SjU0alqe8WAi4Phb0lnQY/kX2joQm/yUgTIWS8y5Y Z2purqLdfEmzSeSauUe/2zkruwbhwtoosg2wcdjrMxLRP2KihiwL1AJGhLPEb3TiAAk9 sIOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=dfJKHQAC5Jvnr02zMyniqOPetfe6aLaGCnFQ9aCHPXo=; b=RS10UntTex5CsCRcwAusrQcIm4KGo0DgfeeDC69/AMoCocGbIE9NkSlv1dJkc7DJsD kWwwia4FIuLSrU7cW7yyXkMXWYNfadcSR3MgfbWRa9JKW7w2oW91XIrUt//m5MWcYpkw mgzO+U2vOUIiFGKKw1J9iqTUaSp+qi6ELm8yT/cQaw8OuxyHOy+RMV2taMafsDoZFQ3U SA+Ty6BkUZlU3TF8RhBDKbnZAg0Y4EsFRx+oIZ+C7HWVCxIti2Gs5+Eok/x0+K7KHavx ekOAqGnGCuAX4cby2tH+SvgxPx8w4pVYUEbCjhXTNx0MHWFLBzNnIAbiucxcm5NTZEG0 rcfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="XYrp/Yrc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch10-20020a0564021bca00b0041d79f5da31si3656801edb.534.2022.04.11.19.17.47; Mon, 11 Apr 2022 19:18:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="XYrp/Yrc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345028AbiDKMQE (ORCPT + 99 others); Mon, 11 Apr 2022 08:16:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235678AbiDKMQC (ORCPT ); Mon, 11 Apr 2022 08:16:02 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5D38540924 for ; Mon, 11 Apr 2022 05:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649679226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dfJKHQAC5Jvnr02zMyniqOPetfe6aLaGCnFQ9aCHPXo=; b=XYrp/YrcXBJG564tvXukEhxS/3lf6N1ytiYhF1MsfnwKaYlL6cM1mYTQdIrxKbJu5DGX+p pmEHiv1aTIq8ARTxB5sbjTogoKut+F+J/0HsZf7UVYl5p6MINEHGyE5cw96Q5SH8ME4LMM yr9cmZ/JOUWUj81ggTOjWzbjdX81m5I= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-488-AQhzmdZlPsi9G6FSPVM6uA-1; Mon, 11 Apr 2022 08:13:45 -0400 X-MC-Unique: AQhzmdZlPsi9G6FSPVM6uA-1 Received: by mail-ed1-f72.google.com with SMTP id eg29-20020a056402289d00b0041d6db0fbc9so3614384edb.9 for ; Mon, 11 Apr 2022 05:13:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=dfJKHQAC5Jvnr02zMyniqOPetfe6aLaGCnFQ9aCHPXo=; b=4ZPVanN7xN9sO4dYEwnWsmqUmCUbMXWkT3L4MzpMezVS19NnLNj/jwbJyEbuZiBcrz WGhZd0XXa74dqBD60IVR8pJmAL/DgRZrK1s22FiWht8FCNdj/2Ct1VdsBZlmqcw9LVgw WPdmoGxXuIZn3MvpjQwIoUGhYrdr2RzzYaH8Z+CS4VVflH8MxT9aqgkMif7vXF7MmAZW v5GFtWUjI2B0vhdyIpbCx0q9c9/Bx/D64VPpqC/JhWWQGJjR51tDSvoi4BxJnH/4yfsO T0/QrR5GH5FURLDPcTbddhVF1dXt8aUqtHmS2u4yfHvcyPfr88Cx8S/O3i4OQF7J9rcg Z37A== X-Gm-Message-State: AOAM531QSPlTCjhdyMU0ky/z6oNbVjPnc9DMStFCUPYWAdwIAFxOs4mv snaOQl9lO2RWm5DlgebdpV9/Gve0xC7opeyD0eQyuEvM69VHRvsPHpGUpoX9/oMvtbdmCCJmLfa Rd0DHayb6Oqy2icsi99JcPb5b X-Received: by 2002:a17:906:1604:b0:6e8:7c02:c5a with SMTP id m4-20020a170906160400b006e87c020c5amr7412145ejd.690.1649679224269; Mon, 11 Apr 2022 05:13:44 -0700 (PDT) X-Received: by 2002:a17:906:1604:b0:6e8:7c02:c5a with SMTP id m4-20020a170906160400b006e87c020c5amr7412124ejd.690.1649679223960; Mon, 11 Apr 2022 05:13:43 -0700 (PDT) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id t7-20020a50d907000000b0041cda2f0548sm10670845edj.10.2022.04.11.05.13.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Apr 2022 05:13:43 -0700 (PDT) Message-ID: Date: Mon, 11 Apr 2022 14:13:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v5 0/4] platform: surface: Introduce Surface XBL Driver Content-Language: en-US To: Jarrett Schultz , Rob Herring , Andy Gross , Bjorn Andersson , Mark Gross , Maximilian Luz Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, platform-driver-x86@vger.kernel.org, Felipe Balbi , Jarrett Schultz References: <20220405210750.619511-1-jaschultzMS@gmail.com> From: Hans de Goede In-Reply-To: <20220405210750.619511-1-jaschultzMS@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jarrett, On 1/1/70 01:00, Jarrett Schultz wrote: > After v4, there were some suggestions to change the driver again to use > nvmem that would include some other changes to the sm8150 dtsi. While > the suggestions make sense, this driver was supposed to remain simple > for the introduction in order to get it into the tree and I think that > it would be best to implement those and any other suggestions in a future > patch. Hopefully this patch is now in a state where it can be accepted. > Thanks to all who have helped and been patient along the way, this was > my first patch :) I appreciate your efforts to get this upstream, but this is not how upstream development typically works. We usually iterate a patch until all stakeholders are happy and then merge it. So unless Rob changes its mind and gives his Reviewed-by for the devicetree bits from this v5, then this cannot be merged as is. Regards, Hans > ~ Jarrett > > --- > > Introduce the Surface Extensible Boot Loader driver for the Surface Duo. > Exposes information about the driver to user space via sysfs for > consumption in manufacturing mode. > > --- > > Changes in v5: > > - Minor changes to yaml > > --- > > Changes in v4: > > - Small binding definition changes > - Removed ACPI propagation from patch series since it has been > cherry-picked > - Fixed the Signed-off-by: and From: mismatch > > --- > > Changes in v3: > - For the yaml documentation: > * Updated description > * Fixed examples > * Updated 'required' field > - Further propogated ACPI dependency in Kconfigs > - Updated sysfs several binding descriptions > - Renamed files to conform to naming conventions > > --- > > Changes in v2: > - Per Maximilian, added patch 2: propagated ACPI dependency from the > directory as a whole to each individual driver > - For the yaml documentation: > * Removed json-schema dependence > * Elaborated on description of driver > * Updated example > - Changed target KernelVersion in sysfs documentation > - Updated MAINTAINER changes to be properly applied across patches > - For the driver itself, > * Added types.h inclusion and removed unused inclusions > * Minor updates to code and acronym style > * Remove __packed attribute on driver struct > * Use .dev_groups for sysfs > - Added more in-depth description of driver in Kconfig > - Modified dts to reference a newly added section in sm8150.dtsi > > --- > > Jarrett Schultz (4): > dt-bindings: platform: microsoft: Document surface xbl > platform: surface: Add surface xbl > arm64: dts: qcom: sm8150: Add imem section > arm64: dts: qcom: surface-duo: Add surface xbl > > .../ABI/testing/sysfs-platform-surface-xbl | 79 ++++++++ > .../platform/microsoft/surface-xbl.yaml | 70 +++++++ > MAINTAINERS | 9 + > .../dts/qcom/sm8150-microsoft-surface-duo.dts | 10 + > arch/arm64/boot/dts/qcom/sm8150.dtsi | 8 + > drivers/platform/surface/Kconfig | 12 ++ > drivers/platform/surface/Makefile | 1 + > drivers/platform/surface/surface_xbl.c | 186 ++++++++++++++++++ > 8 files changed, 375 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-platform-surface-xbl > create mode 100644 Documentation/devicetree/bindings/platform/microsoft/surface-xbl.yaml > create mode 100644 drivers/platform/surface/surface_xbl.c >