From patchwork Thu Dec 24 07:25:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1420403 X-Patchwork-Delegate: lokeshvutla@ti.com 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; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.a=rsa-sha256 header.s=s2014 header.b=aUnpKQXH; 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 4D1hTp0qX9z9sVH for ; Thu, 24 Dec 2020 18:26:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3EA7C826E9; Thu, 24 Dec 2020 08:26:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.b="aUnpKQXH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7FB9D826FF; Thu, 24 Dec 2020 08:26:28 +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=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from libero.it (smtp-18.italiaonline.it [213.209.10.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7E92A826E2 for ; Thu, 24 Dec 2020 08:26:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dariobin@libero.it Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([79.54.115.44]) by smtp-18.iol.local with ESMTPA id sL0kkruLe7QU9sL0wkXLGQ; Thu, 24 Dec 2020 08:26:22 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1608794782; bh=wgb138SB59udtvNUeSJyyQsEarG8R+w2W9t7yZsiihY=; h=From; b=aUnpKQXHkMoV7+KcfuSFGT6hImYHeUdjW5lWMbMbJLkGDZXoKLCC/ztou8gprmOqm Aa8O9M30KA5wTBCvtpaDRLOPh4VJKiX1DhaFqVcHoSCP34U9zc9rOm3Gux57O1DUEa kqErMhE8QZrk3hSZ+5nu0MtQrpJ/K8aDNr7c05Q7ivg+ye6WwEgWLlsLL3GKWqG8x6 rHYmTWC5TJ0SshmXS0N4eNubh0vPuX32dKRM/NuJErM62MyZBbdN/Hau/d+aCvkO8W 4gBYxtYZYqlL8mCRJaKp/PWUrOwLx3kMdRNB7MKIEH4PR4xVo3PPvs27w5EFj5jdlB n+jLruSEr40Qg== X-CNFS-Analysis: v=2.4 cv=Y+c9DjSN c=1 sm=1 tr=0 ts=5fe4429e cx=a_exe a=4XFUYcG0DNokufVEFeBjWw==:117 a=4XFUYcG0DNokufVEFeBjWw==:17 a=0_a7Z6L2eeUiKaWuwkwA:9 From: Dario Binacchi To: u-boot@lists.denx.de Cc: Lokesh Vutla , Dario Binacchi Subject: [PATCH v7 02/28] dt-bindings: bus: ti-sysc: resync with Linux 5.9-rc7 Date: Thu, 24 Dec 2020 08:25:25 +0100 Message-Id: <20201224072552.15848-3-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201224072552.15848-1-dariobin@libero.it> References: <20201224072552.15848-1-dariobin@libero.it> X-CMAE-Envelope: MS4xfJpU2KDr4a+raJZfhcLEm1EEZeAzMdAFT3cIBqZ+dAj8EiZfpvwbeZGBvp3KkV00Gou0OCb6I9d46UVroxqetVy0oNuqhxHwhxxhNW6G61dIjsZRZwtD BqX4mNH4XXywa5kbMCX2oJWK/GvvPi1cw2OmA9DyUNQfL0EGXm96jcvMT8NWZ3S+bnpedsHlmAvSfMk3ZIVBhGy3ZRF5z6JWgrTWxLn53nTNtqETqJRy5E91 83sWDfAGa+sopdE+gzjPpJQP1S6YRaGgZ6T4biYL0Mqt4+MeLwh/xOGBFN72Xjo/ 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 support for PRUSS SYSC type: The PRUSS module has a SYSCFG which is unique. The SYSCFG has two additional unique fields called STANDBY_INIT and SUB_MWAIT in addition to regular IDLE_MODE and STANDBY_MODE fields. Add the bindings for this new sysc type. Add support for MCAN on dra76x: The dra76x MCAN generic interconnect module has a its own format for the bits in the control registers. Signed-off-by: Dario Binacchi --- (no changes since v1) include/dt-bindings/bus/ti-sysc.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/dt-bindings/bus/ti-sysc.h b/include/dt-bindings/bus/ti-sysc.h index 2c005376ac..eae4274543 100644 --- a/include/dt-bindings/bus/ti-sysc.h +++ b/include/dt-bindings/bus/ti-sysc.h @@ -15,6 +15,12 @@ /* SmartReflex sysc found on 36xx and later */ #define SYSC_OMAP3_SR_ENAWAKEUP (1 << 26) +#define SYSC_DRA7_MCAN_ENAWAKEUP (1 << 4) + +/* PRUSS sysc found on AM33xx/AM43xx/AM57xx */ +#define SYSC_PRUSS_SUB_MWAIT (1 << 5) +#define SYSC_PRUSS_STANDBY_INIT (1 << 4) + /* SYSCONFIG STANDBYMODE/MIDLEMODE/SIDLEMODE supported by hardware */ #define SYSC_IDLE_FORCE 0 #define SYSC_IDLE_NO 1