From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89C7CC433E0 for ; Mon, 25 Jan 2021 17:53:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 264B022B3F for ; Mon, 25 Jan 2021 17:53:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 264B022B3F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1ExCc84yp/K6/TPLYDIJ3UKO8San2to2R5laBc8fdxg=; b=W/fKUJCCgXn4b0S6Y0sC3ZTFJ noUkk1IA+RW1V2j1piCHV16pgJcIBmWNNNZPIulXj94gV475TdyGkjq3AeULmze2dhiqKgMwViks7 +qb/xObuStBHyPZPT8QF+4QEPUEr7CAmxoHl4CIndOI9Wu9WP3zD3FTVtBcaQMlKUQOtI95X2lcpx CjuwkB/HumBp2b6YSVprBjDYQLMWEYzKaleuYmreCkaS6mWOTXgsssyw0A6GIEkIjAg196/28fMin 1Fbf9H7GlV0q8MqQSiOZEpnCqR6FKg5mB5yUF5yfaVvac+2+7EPC9LLVXxbBcn4u9ssOS+NEvnPjo XhZNCBAUg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l461f-0002Fi-FR; Mon, 25 Jan 2021 17:51:44 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l461b-0002F0-QT for linux-arm-kernel@lists.infradead.org; Mon, 25 Jan 2021 17:51:41 +0000 Received: by mail-wr1-x42b.google.com with SMTP id q7so13846607wre.13 for ; Mon, 25 Jan 2021 09:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=0snvcNaYNGpV/k+7WdqZD7n4s15hYF8lRKnrHcT9zcs=; b=BtcA8Bf0tWpg53PhU7aSoui0E3BpWfWCGjqofDJ+lP3yBnl5dwdung0WUSxXzvTvA6 WTu0tUvkwAXT3Cq0iMGsPbfl59hMfy9/EW2erNyZaTvlylVVwGwXwBqddWaBT3BIrZSZ szt2OKUvwyMX7g2nAaDniEzmcScpvK2uXK2FUX/B8kO35o/a5Bx7cLy+XFV68farduPZ RXmB0aaZMFxEo1a+abC3GeeawXzwnaq7G2FLyEvxRjdRPrR8idbR1k+RyOJQe84ZOVJH Eu6mnLruo8fA0Wi+cgYcDCt2WXKASkVR4Nkm0uuXK0BOtazXaqSUOfOkCWKMVpzE2dNl +dLg== 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:in-reply-to:references:date :message-id:mime-version; bh=0snvcNaYNGpV/k+7WdqZD7n4s15hYF8lRKnrHcT9zcs=; b=l6+sJ1ZruJxfcLIsFFTetZJy+3Xj3cjVcqxHtEzgtVYSxelRmz+4bfl2t4x68ARnyY HOiUHy/EtYQmvLiTGh8xYV24ObaNFiSvT1CMeNuJZxPWAnA2YOqBZj7SY6/UsCBnKdY5 sLXnxGTpiGC1T4qKCp6IWUxnMzoSyjoTV4PEzBzZ75xqiCQ6Ac7d28LJJIzJgi6bm7Fu Ig6dURigb7vczpu9BsffOWTKXu6d2e32HbWSNRp5F8lCtgdsrApQ1Bwq3wueQK/ZymA2 GAJYjMYVfbfhH9GsCOwZSmmYDkMUnM3UCYO8xw3hGEidd9N82Z67dgjGh4XKFZL/Hr+X L77w== X-Gm-Message-State: AOAM531rucTFCxeap2kmUcU5hvJQLkXE9jJ3fDB0T9hFN3o95/BSv/kZ iEDrp2lbDhSwRO2fweUcnca84A== X-Google-Smtp-Source: ABdhPJzfEafFozbxGGxAYvRjvaBNZaQlhERyvwak6AebaeXwdOrGAa45QDqKfniSaEX6MY+MkoOeMg== X-Received: by 2002:a5d:6a01:: with SMTP id m1mr2243274wru.318.1611597096632; Mon, 25 Jan 2021 09:51:36 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id r124sm62707wmr.16.2021.01.25.09.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 09:51:35 -0800 (PST) From: Kevin Hilman To: Martin Blumenstingl , linux-remoteproc@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: Re: [PATCH v2 0/5] Amlogic Meson Always-On ARC remote-processor support In-Reply-To: <20210102205904.2691120-1-martin.blumenstingl@googlemail.com> References: <20210102205904.2691120-1-martin.blumenstingl@googlemail.com> Date: Mon, 25 Jan 2021 09:51:33 -0800 Message-ID: <7hmtwwx5ui.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210125_125140_005394_F6EEA151 X-CRM114-Status: GOOD ( 24.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ohad@wizery.com, devicetree@vger.kernel.org, Martin Blumenstingl , linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Martin Blumenstingl writes: > Amlogic Meson6/8/8b/8m2 come with an ARC core in the Always-On (AO) > power-domain. This is typically used for waking up the ARM CPU after > powering it down for system suspend. > > The exact ARC core used on Meson6 and earlier is not known. I believe > it is an ARC625, but I am not sure about this. Meson8/8b/8m2 uses an > ARC EM4 core. > They all have in common that they use a section of the SoCs SRAM for > running code on the ARC core. > > Unfortunately there's no information about the remote-processor control > registers in the public Meson8b (S805) datasheet. All information is > either taken from Amlogic's 3.10 kernel and 2011-03 u-boot or found by > testing (for example the clock input is not mentioned anywhere in the > reference code, but disabling it stops the AO ARC core from working). > > This series consists of five patches: > 1: dt-bindings for the SRAM section > 2: dt-bindings for the SECBUS2 syscon region which contains a few > bits for controlling this remote processor > 3: dt-bindings for the AO ARC remote processor > 4: the driver for booting code on the AO ARC remote processor > 5: (only included for documentation purposes) dts changes (these will > be re-sent separately) > > Patches #3 and #4 should go through the remoteproc tree. Patches #1 > and #2 may go through Rob's (devicetree) tree, Kevin's linux-amlogic > tree or through the remoteproc tree. Personally I have no preference > here. > > To test this series I ported the Amlogic serial driver and added the > board files for the Amlogic AO ARC EM4 to the Zephyr RTOS. The code can > be found here: [0] (the resulting zephyr.elf can then be loaded as > remote-processor firmware from Linux). > > > Changes since v1 at [1]: > - fixed yamllint warnings (after installing the package these now also > show up on my build machine) in patches #2 and #3. Thanks for the > hint Rob > - dropped the explicit "select" statement from the dt-bindings in patch > #2 as suggested by Rob (thanks) > > > [0] https://github.com/xdarklight/zephyr-rtos/commits/amlogic_ao_em4-20201229 > [1] https://patchwork.kernel.org/project/linux-amlogic/list/?series=407349 > > > Martin Blumenstingl (5): > dt-bindings: sram: Add compatible strings for the Meson AO ARC SRAM > dt-bindings: Amlogic: add the documentation for the SECBUS2 registers > dt-bindings: remoteproc: Add the documentation for Meson AO ARC rproc > remoteproc: meson-mx-ao-arc: Add a driver for the AO ARC remote > procesor > ARM: dts: meson: add the AO ARC remote processor Patches 1-2, 5 queued for v5.12 via the amlogic tree. Kevin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel