Message ID | 20200906214405.71632-1-sjg@chromium.org |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=lqhYQzJH; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bl4gX0gH2z9sSn for <incoming@patchwork.ozlabs.org>; Mon, 7 Sep 2020 07:44:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6DADD823B9; Sun, 6 Sep 2020 23:44:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="lqhYQzJH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6EE16823CC; Sun, 6 Sep 2020 23:44:14 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F3607823AC for <u-boot@lists.denx.de>; Sun, 6 Sep 2020 23:44:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x143.google.com with SMTP id p13so10911093ils.3 for <u-boot@lists.denx.de>; Sun, 06 Sep 2020 14:44:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=41OhRCmPJyxan+XHRrrvI7xD45ylDk18m8CzSspNKGM=; b=lqhYQzJHwUrZFaJddAgN0OjgHh/eYxMavROmeUjXOQUf9+D3h1/c5OnG0mWqYygdd3 eqiqtxN4QdqxmbiSezulrPGuKvTZ+nWhrp3F1UILR7kHmDIxn9m7RalHbhij/fiApY3W 1Hh0zrmqj2FPRumQpr5N949zbkDk7Laav8UlA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=41OhRCmPJyxan+XHRrrvI7xD45ylDk18m8CzSspNKGM=; b=tWGNnyJNG02OSGtvB35EoltaXxnosFCB7JLhn7uKdw2q4RKdH2zTaqxFUr8E9PLwOi n9QrHJSZBS5ChwE+6oSWoY/b3xfMe+O2pqAw1XNLP1HixPrU/JG8V6/a2ajLzLGMMB0U 7lF7cgPHJCdXaLwg0aJFPANsfAqXdM9VU5BqU9vd/MQjSlByyG91U9mEji0tfGXIo2bs j94lTLdYW78BL+ZA9zLxgHsuH3iP7ArfofV4nnulPTwZ/mK1F1HNNyN3/UxDhLti+s+T 1PRuwQTZk9C/yqBofm7TQy0R9kNwi2a8B+Ry3LYhPYvCdNn95cp9SULyGxDRKNbFVyyd c7Vw== X-Gm-Message-State: AOAM533P82G8ObcuDdBIBYWzPQyl5dZeT3eMXPqOiRrmYXw9SdHF60eF X8ew6rGGorUtqLDSarzq7YcLbuWapitQcPyV X-Google-Smtp-Source: ABdhPJzh74BhCvjGck5a+yqJfj/5hU9RcuN1SWRbt7v2QV05oeqTe6/ejyp0Us3nRzXs+6MT5Cfmbw== X-Received: by 2002:a92:4d1:: with SMTP id 200mr17138570ile.223.1599428649149; Sun, 06 Sep 2020 14:44:09 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id w13sm6232663iox.10.2020.09.06.14.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 14:44:08 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Bin Meng <bmeng.cn@gmail.com>, Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Simon Glass <sjg@chromium.org>, Heiko Schocher <hs@denx.de>, Marek Vasut <marex@denx.de>, Pavel Herrmann <morpheus.ibis@gmail.com> Subject: [PATCH v3 00/57] dm: Add programatic generation of ACPI tables (part D) Date: Sun, 6 Sep 2020 15:43:08 -0600 Message-Id: <20200906214405.71632-1-sjg@chromium.org> X-Mailer: git-send-email 2.28.0.526.ge36021eeef-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
dm: Add programatic generation of ACPI tables (part D)
|
expand
|
Hi Simon, On Mon, Sep 7, 2020 at 5:44 AM Simon Glass <sjg@chromium.org> wrote: > > Note: This is part D of this effort. With this, Coral includes all > required ACPI tables. > > At present on x86 U-Boot supports creating ACPI (Advanced Configuration > and Power Interface) tables using the Intel ACPI Source Language (ASL) > compiler. > > This is good enough for basic operation but some devices need to add > their information dynamically at runtime. An example is a device that > needs to report its enable GPIO. This is described in the device tree, > so we want to add code in the driver to convert that device-tree > description into an ACPI description for use on Linux. > > This series adds support for generation of ACPI tables and fragments by > devices. The core support is built into driver model. > > Several files are brought over from coreboot to do the actual generation. > > As an example of using this new feature, chromebook_coral is updated to > write out a wide array of ACPI tables including DSDT and SSDT. > > This initial version of the series lays out the general approach. More > work is needed to figure out the difference between CONFIG_ACPIGEN and > CONFIG_GENERATE_ACPI_TABLE with respect to what is built. > This series does not apply on u-boot-x86/next. Could you please rebase, and address Andy's comments? Regards, Bin