From patchwork Thu Jan 21 20:57:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1430093 X-Patchwork-Delegate: sjg@chromium.org Return-Path: 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=) 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=mhsKZINH; 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 4DMF8z1vy2z9sCq for ; Fri, 22 Jan 2021 07:58:10 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5112D828CB; Thu, 21 Jan 2021 21:57:48 +0100 (CET) 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="mhsKZINH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 84BA882897; Thu, 21 Jan 2021 21:57:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) (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 4AE0E8287F for ; Thu, 21 Jan 2021 21:57:35 +0100 (CET) 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-pf1-x42f.google.com with SMTP id o20so2281326pfu.0 for ; Thu, 21 Jan 2021 12:57:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZO5OsYoWzPFTQsHVXgofu+tfLL3+so4bJ/l9qPasVzg=; b=mhsKZINHDIzF5SLJcYoErSP291F7aVSLMp6NLgCAsbKHhMs5KWoFBoGve5mxs/LCr4 FFw+sAf2MondqIOqY3ghNFNVTverqwSA1GYDqLSQbuLv6I72d6wqbyrGJySrnKTFogUW WPwS9nXWK+hsMYHn4IOEHLEXov+UK045DOVLE= 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZO5OsYoWzPFTQsHVXgofu+tfLL3+so4bJ/l9qPasVzg=; b=pkRCHbqk2XpjNvllZORwVL70TF5b3UozU4YAlAnb57VAjbtAzf5ZZFUhwLpmD9oMX2 qmLegD8DG26BRWAfMi4rkEgn4ZelTDdeRnijI6SruRuJT1+7j4W6BXc1Oh8wkHVrelFY RPAz7Sb4hY/D345JBWhp8ndBpseJtfFdGNlFiptm4c7y6sNP87ANPeOawLFhveJZ0liT lvuDNIgEEPujW2DQTuDAFLyMImD7YM8fmN4O15Rr4QuKkOx4lRkU+lpubirHoLyWbyn+ VCEYF9nDcJ/SJXvjDAvZqy6V4epukH6MhpjKCDepqkgUtmCJwSmhq602vh+Ki+ISKu83 5V+w== X-Gm-Message-State: AOAM533o4qR2arQZKhW7MANtRCbPETUm5UV87N08eOYgQJSbKEr/nAV4 tEV9T6OFLPnL2owGX2RzFZwDbOsJVI/ncWRn X-Google-Smtp-Source: ABdhPJxnjl0K34yciv6cxMB2BjYlLAishe3Hsfz0rZSL4uy7oyjOoO6zrxiS2xKhkMJ8eoqdNPSqeg== X-Received: by 2002:a63:3246:: with SMTP id y67mr1134442pgy.438.1611262653599; Thu, 21 Jan 2021 12:57:33 -0800 (PST) Received: from sjg1.home ([2600:6c4c:507f:f8e5:0:ec6e:a61e:6ad]) by smtp.gmail.com with ESMTPSA id a25sm6261763pgv.40.2021.01.21.12.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 12:57:33 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Simon Glass , Heiko Schocher Subject: [PATCH 03/11] i2c: desigware: Add an alias for Intel Apollo Lake Date: Thu, 21 Jan 2021 13:57:08 -0700 Message-Id: <20210121205716.964652-4-sjg@chromium.org> X-Mailer: git-send-email 2.30.0.280.ga3ce27912f-goog In-Reply-To: <20210121205716.964652-1-sjg@chromium.org> References: <20210121205716.964652-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Add an alias so that this driver can be used in TPL on coral. Signed-off-by: Simon Glass Reviewed-by: Heiko Schocher Reviewed-by: Heiko Schocher --- drivers/i2c/designware_i2c_pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c index ec0cdf62207..9e387737b6e 100644 --- a/drivers/i2c/designware_i2c_pci.c +++ b/drivers/i2c/designware_i2c_pci.c @@ -192,6 +192,8 @@ static const struct udevice_id designware_i2c_pci_ids[] = { { } }; +DM_DRIVER_ALIAS(i2c_designware_pci, intel_apl_i2c) + U_BOOT_DRIVER(i2c_designware_pci) = { .name = "i2c_designware_pci", .id = UCLASS_I2C,