Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5647877rwd; Wed, 24 May 2023 05:05:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RRZk8mBjEnm2j76/9TTEv/QkJx81JCnfqDpeWChmWLoObYVpt7dXiV7D6rREQxwZWOJpU X-Received: by 2002:a05:6a21:33a2:b0:10a:fad7:43bf with SMTP id yy34-20020a056a2133a200b0010afad743bfmr14647550pzb.39.1684929913955; Wed, 24 May 2023 05:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684929913; cv=none; d=google.com; s=arc-20160816; b=CirYzyVpZ3SlL51X1qr8WVTV/LEntPVBjgIYfcM/m/qfSysbN9FFNm0Th8s8a6/jn7 RFch0t3zDAvjkAZTRTEXqKlf4mBZeV8MK7+2IUukcAErPvvtv7Jb323IU902ne+ZBloT pNS2cIFkpubkhZ+CssVPvQdsseYtaNV1EyQ0mGUcpOp5w6GgmK4K7yx7Vd6iEUumiD48 sjXa6R59S+NbFfTpF5FIN3OEW0KkM8R1lMMnFX1wxjsINQhvGB6r+16crkxokoq5NuT+ Qcn/JRUSSRIgfs0wWd7B/TPU2kIdvpEa3oz31hDKTOkwz8bLzWfVXBHlTADUg4cN1A8s YFLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=C5kLJUN/aBQSzzkH3iVDdcvUCVdQEgkaGhJqeZzA+5Y=; b=WrGLld3Xa1xb1lcSMy15eraHUZHJ84PVv8oLYfwECxOl09ezF+LHrMqW4Ih58JeSIl 6j5CpJX7KyvTIwntzu4TV2cB1kc6u2uh7S/8nCiiIIBSTE1Evbaj/uZA9f/Anobnd8KO DlpHcRqHzmKrIG2V4ETFXOYKOi+XlsC8zYoPhQc+2ybEz64AqVSfWipWt6jBRK/NuAhJ juIgMwCNF1KCS99SE5kxZDUbS1FqCf1i4/ywdJ3gpXbwT/5S2z88cK6iDyFiqkOpWHea +v0gBJ2dcl6RyaSd8G2MuAoqO+fQ7do3hnakXl/qpztxHnT7lB/BcI0motQbFhnvfy7g NQuA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j184-20020a636ec1000000b005341d2aa9dfsi2273220pgc.622.2023.05.24.05.04.57; Wed, 24 May 2023 05:05:13 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231206AbjEXL42 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 24 May 2023 07:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjEXL41 (ORCPT ); Wed, 24 May 2023 07:56:27 -0400 Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F37B184; Wed, 24 May 2023 04:56:23 -0700 (PDT) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-510f866ce78so250345a12.1; Wed, 24 May 2023 04:56:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684929381; x=1687521381; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ts8juLbk9tH3TciBEO7YqwijEpAwtpNwIl+U8f3UTMQ=; b=kpBoJh4DkxP+iwsgPqfDjse7EMYHRBOuefhjwRClfwJFuoHkFg6fWME7fU1Ir2HyKc OLxvWXZ9QIplw77e6XduYrEZx6i0wQ65ixmeV/cSMP7K9knh/M3e9k6FpgWIFG/H0POk caIS6TvonWmo1wq3kgCjos+DUFbRIyZO3+5lXERnG58twLwvGxhKTVkv85ALHUUq/Tp/ QTq6ZZBoZPIInlZnhCCM6G5NyWhzyUxBRba5qtHdkxVkNC721u2Zk9J9nAPrrWYRZry1 bAkSlcxw73dWqXQZt2yfvYYXnMnPI2faaFDD4bUdTHqgmXUWs5IqDyRqK0RKC4Kx4q2L QpfQ== X-Gm-Message-State: AC+VfDy2/6owOawSENdBtQROq+4t39IvklLvzZGC90YOOoiWqAL4xacS 71YasAWWc8JZEY6AtOUBfTuZ5/AHWA0/NdX1fEf/PS7PDlM= X-Received: by 2002:a17:906:2097:b0:965:86ed:ca6d with SMTP id 23-20020a170906209700b0096586edca6dmr15549853ejq.0.1684929381339; Wed, 24 May 2023 04:56:21 -0700 (PDT) MIME-Version: 1.0 References: <13276375.uLZWGnKmhe@kreacher> In-Reply-To: <13276375.uLZWGnKmhe@kreacher> From: "Rafael J. Wysocki" Date: Wed, 24 May 2023 13:56:09 +0200 Message-ID: Subject: Re: [PATCH v1 0/6] ACPI: scan: MIPI DiSco for Imaging support To: Linux ACPI , Sakari Ailus Cc: LKML , Hans de Goede , Andy Shevchenko , "Rafael J. Wysocki" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed, May 24, 2023 at 1:48 PM Rafael J. Wysocki wrote: > > Hi Folks, > > This basically is a re-write of a recent patch series from Sakari: > > https://lore.kernel.org/linux-acpi/20230329100951.1522322-1-sakari.ailus@linux.intel.com > > The general idea is the same - CSI-2 resource descriptors, introduced in > ACPI 6.4 and defined by > > https://uefi.org/specs/ACPI/6.5/06_Device_Configuration.html#camera-serial-interface-csi-2-connection-resource-descriptor > > are found and used for creating a set of software nodes that represent the CSI-2 > connection graph. > > These software nodes need to be available before any scan handlers or ACPI drivers > are bound to any struct acpi_device objects, so all of that is done at the early > stage of ACPI device enumeration, but unnecessary ACPI namespace walks are avoided. > > The CSI-2 software nodes are populated with data extracted from the CSI-2 resource > descriptors themselves and from device properties defined by the MIPI DiSco for > Imaging specification (see https://www.mipi.org/specifications/mipi-disco-imaging). > > Patches [4,6/6] come from the original series directly, but the other patches have > been changes substantially, so I've decided to re-start patch series versioning from > scratch. I should have mentioned that the following two patches are not included: https://patchwork.kernel.org/project/linux-acpi/patch/20230329100951.1522322-9-sakari.ailus@linux.intel.com/ https://patchwork.kernel.org/project/linux-acpi/patch/20230329100951.1522322-10-sakari.ailus@linux.intel.com/ because I don't agree with the idea of renaming device properties in place. Also not included is the documentation patch, because comments are added by the individual patches making changes in the code. Thanks!