Message ID | b9c4b90db46424937d16386fa0c1781ecf5fc2d8.1627558582.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 23a328769a2638e87131198ad1e93000f69d6393 |
Delegated to: | Michal Simek |
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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=X54d2FIB; 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) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Gb7mY6Dg8z9sSs for <incoming@patchwork.ozlabs.org>; Thu, 29 Jul 2021 21:37:17 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CA99A82EA8; Thu, 29 Jul 2021 13:36:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="X54d2FIB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0FAAF82E83; Thu, 29 Jul 2021 13:36:36 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (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 D5BA182E2B for <u-boot@lists.denx.de>; Thu, 29 Jul 2021 13:36:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x532.google.com with SMTP id p21so7719623edi.9 for <u-boot@lists.denx.de>; Thu, 29 Jul 2021 04:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZGSrXjX6OTuwkGO0/NkU+3DHm+UoI49cLHDbAOE0p+E=; b=X54d2FIBOWTnNNndcBdYUeBPYbAvomDBExK4Zzf6fOH3k+kAA/QgOw0w5ULTFUAS3v RxSSf8NG7KfQEQHFq6z2mMFRo9sib50TP4Ndbo/3/9tzFKk1GEaZYNOzQ1TrpIiWG/N/ Fj+20FseFvAQ3iyo+gki+QH3ICcxYR6VUpHzxpFOIYA1xdu66ih+j5UYLvW/hF9dE/ui jUXscXkz+ivP441KOVNgGuWbXHiakBcahtG/nLG5e8PiFjmTSZPuOHVQCULD2P+2RcbF ulEwOOrsAsfOW6GHtzj2E+12ah7NWVg3r6mgPZDfes34306hPOsDtlfDfHC5/4mpctk1 2JPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ZGSrXjX6OTuwkGO0/NkU+3DHm+UoI49cLHDbAOE0p+E=; b=baBI6gsEz0qIg398Xwfn4veQirAVEf9AvEq9MvykMq725REoZowyT+SobCC9s1/Iz3 YUjzXMJObuvSuBmp2h8OjO5ehuNH/ilLdAOdzC8rg/hVUWxvY6CAhin7HMK8xvP9Yp/5 nEQwjhn+uePpnyKXgOyi8zezYFoS7qjNnz3ce1qtQXEopQrWz1cZw9vXuYvpZawIJ4ea PrUCNgpJrRX1ReQL0AxHwSP7rgEOjl47DVvb/aPcnpuThaAMDO7dXASz2iCyjitRf2j4 9alIn2jg3RF3Sq+GYIKxEFrZ3eSSvnpOM/THLL58WdT+YASBjr3poPWc8mLKF/hGrRhh NEKQ== X-Gm-Message-State: AOAM530TW62rTUKlRAYcwszbK0ItGAN38e7tv70nGcQAu0W8fxLvWcZC 9eaa9/Y4Vc4t6ZgkI7Pf2xJbkgMRAVdK5H7A X-Google-Smtp-Source: ABdhPJzFReABxRwTp8xLQHkXFdXiloYz3CtG26PNLxUNG1oHmTV+p+dJnWqUIrxDZxy0SIKrtAHhlw== X-Received: by 2002:a05:6402:424e:: with SMTP id g14mr5586668edb.364.1627558588315; Thu, 29 Jul 2021 04:36:28 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id de19sm1096599edb.6.2021.07.29.04.36.27 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Jul 2021 04:36:28 -0700 (PDT) From: Michal Simek <michal.simek@xilinx.com> To: u-boot@lists.denx.de, git@xilinx.com Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH 1/4] dm: rtc: uclass: Add flag to control sequence numbering Date: Thu, 29 Jul 2021 13:36:22 +0200 Message-Id: <b9c4b90db46424937d16386fa0c1781ecf5fc2d8.1627558582.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <cover.1627558582.git.michal.simek@xilinx.com> References: <cover.1627558582.git.michal.simek@xilinx.com> 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.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
xilinx: Add RTC support for Xilinx ZynqMP
|
expand
|
diff --git a/drivers/rtc/rtc-uclass.c b/drivers/rtc/rtc-uclass.c index be6a2ddb6671..321b8732ed9a 100644 --- a/drivers/rtc/rtc-uclass.c +++ b/drivers/rtc/rtc-uclass.c @@ -176,6 +176,7 @@ int rtc_write32(struct udevice *dev, unsigned int reg, u32 value) UCLASS_DRIVER(rtc) = { .name = "rtc", .id = UCLASS_RTC, + .flags = DM_UC_FLAG_SEQ_ALIAS, #if !CONFIG_IS_ENABLED(OF_PLATDATA) .post_bind = dm_scan_fdt_dev, #endif
RTCs are using aliases for sequences. That's why enable DM_UC_FLAG_SEQ_ALIAS for exact RTC indentification. The same flag is used by a lot of other uclasses like mmc, pci, serial, spi, timer, tpm, etc. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- drivers/rtc/rtc-uclass.c | 1 + 1 file changed, 1 insertion(+)