From patchwork Thu Jan 21 03:41:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034327 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 773C5C433DB for ; Thu, 21 Jan 2021 03:43:37 +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 2309E2389A for ; Thu, 21 Jan 2021 03:43:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2309E2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=43LBI80IxIPSTEtGrCN5Kox3uVMg8erFKbqNHnWrb4I=; b=jt2oTNXAL+sqLH4NqSKMMDup1 wYPKfNZ4+n9lambwZm1CRmJB8IoM8qptmXK/ULdidvEg1369LQWAcnmmFf8l+OJTsSmF1MRZmyUxA STER2ehHtIZWK6vT+hG0cRAA0wiZzfWMdADJP7Kg64zxnSirFvl+/82qGP9qBcSpzXrZXVOSFs2QC BZD2K1T5VeDVww/m3UJpct83atpPu2jMgOxfsBd5p88qLSGjS2HLwebcNSr3CjXI3YcPU5D0xiJ4S 44oiBl/7nuU+5BJrJ5Ur1t026udl/q9R7AKm+LrYx8ocex7xrmTg5CcJ1qArqHllehZX7oEOh1rXt i7ui0SIjg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qr4-0006BF-AN; Thu, 21 Jan 2021 03:41:54 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqo-000651-Ln for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:39 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id D8528DF892; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id TV5t0yC6OOVg; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 03B79DF8E6; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zZr-gO1SsUBE; Thu, 21 Jan 2021 03:37:38 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 6484EDF892; Thu, 21 Jan 2021 03:37:38 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 01/12] dt-bindings: gpio: mrvl-gpio: Fix the gpio-ranges property Date: Thu, 21 Jan 2021 04:41:19 +0100 Message-Id: <20210121034130.1381872-2-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224138_881107_DD889103 X-CRM114-Status: GOOD ( 10.94 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The property specifies a list of GPIO-capable pins. Don't limit it to a single element as there's presumably more than one GPIO pin. Signed-off-by: Lubomir Rintel --- Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml b/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml index 4db3b8a3332c2..9cf6137dd5241 100644 --- a/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/mrvl-gpio.yaml @@ -82,8 +82,7 @@ properties: '#gpio-cells': const: 2 - gpio-ranges: - maxItems: 1 + gpio-ranges: true interrupts: true From patchwork Thu Jan 21 03:41:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034333 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 22681C433E0 for ; Thu, 21 Jan 2021 03:43:56 +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 7B0A52389A for ; Thu, 21 Jan 2021 03:43:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B0A52389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=bIllvdbdfuXmBa3j2I7hPTVA2lI5JUWwXtGFj4ahknA=; b=A5WNF5YSI2Ck7+Axy7wGaT/vK kTZkawXjdDSQJU+AH3auy71YXAfSU9gjCg2RgB8T/Gd51pLBceS+Duin490/xofY1Pe66fBRNwNGi HapXakaO/JjdGiItC2Khh2aBQlQHHvR1syenISHjl9R7sc2Fmv4A2nh3a9g5f3gdRqc3fFqTpSG10 k/2oy3iGLVWPvooNeRMPNNqJRu4eZ118KX7rJ2dvVReKAhLqNENVJ+cliGL2zNllQFB+Pb2lj9XYo jAsxF2Mb/XOPm0vMDnTk5Q6ZMTah4f61BUKDwFjU/cNcWe0g3H/Ta2YCrFf7Dj91Iy4Vubxcr0zb+ QOmjHb+hQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QrL-0006Ex-A7; Thu, 21 Jan 2021 03:42:11 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqq-000653-AA for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:44 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 18356DF8E6; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id amaDJJxjbDOG; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id A7817E0A82; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id jSzjLEDEyX-9; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 579CBDF892; Thu, 21 Jan 2021 03:37:39 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 02/12] media: dt-bindings: marvell, mmp2-ccic: Allow power-domains property Date: Thu, 21 Jan 2021 04:41:20 +0100 Message-Id: <20210121034130.1381872-3-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224140_525768_EE04C7D0 X-CRM114-Status: GOOD ( 10.02 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On MMP3 the camera interface is on a separate power island. This property tells the driver to enable it when appropriate. Signed-off-by: Lubomir Rintel --- .../devicetree/bindings/media/marvell,mmp2-ccic.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml b/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml index 49bff738aca54..52eab686a1774 100644 --- a/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml +++ b/Documentation/devicetree/bindings/media/marvell,mmp2-ccic.yaml @@ -23,6 +23,9 @@ properties: interrupts: maxItems: 1 + power-domains: + maxItems: 1 + port: type: object additionalProperties: false @@ -75,6 +78,7 @@ additionalProperties: false examples: - | #include + #include camera@d420a000 { compatible = "marvell,mmp2-ccic"; @@ -84,6 +88,7 @@ examples: clock-names = "axi"; #clock-cells = <0>; clock-output-names = "mclk"; + power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>; port { camera0_0: endpoint { From patchwork Thu Jan 21 03:41:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034325 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 619CDC433E0 for ; Thu, 21 Jan 2021 03:43:36 +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 0A13E2389A for ; Thu, 21 Jan 2021 03:43:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0A13E2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=m80TbT5h6zd95rUnL0WFSrP9zg6EDE3zWzWEnjw2sQw=; b=B3eK6arSKfkYSoo2cfRlFjqen v6WU1v0aLdd7XNyRcjpSciKBqyciUS0uL+xqnBSuwioLVMlbHrzlwDBMdCj0e95kRqHtvkk0Qgud5 ywrS249IShyTvLfKemxjc2v16w+nvO74iOlIw0kVVVUDosRRoxx9C6N+EXnv1WB0YZh31w4YYtL7T m/rrH5mhGSANAAuSVPb4WEaZHtYgM4v0cNbU41CN+fP4ef/Y6jI4euhmDKgZAWUeGO7ShcZZm/3lC O237fAyRxtkxPGR0ylORcZ15zWMoMZCQWcs9mWwyNZwgyiSCZ2tjdoPjFEIZIf+pUZSd7LS5JZuy9 dndz7oNzA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QrB-0006DC-0m; Thu, 21 Jan 2021 03:42:01 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqo-000655-Mq for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id CD3BBE0A6E; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UQC7bHQG0sMr; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 8E104E0A82; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7XerKyXchpDh; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 59AA9E0A6E; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 03/12] ARM: dts: mmp2-olpc-xo-1-75: Fix memory node name Date: Thu, 21 Jan 2021 04:41:21 +0100 Message-Id: <20210121034130.1381872-4-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224138_889125_3C52DBF2 X-CRM114-Status: GOOD ( 11.37 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It contains a reg property. Add its base to the node name. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts index 342304f5653af..e16171ddd93ec 100644 --- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts +++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts @@ -32,7 +32,7 @@ framebuffer@1fc00000 { }; }; - memory { + memory@0 { linux,usable-memory = <0x0 0x1f800000>; available = <0xcf000 0x1ef31000 0x1000 0xbf000>; reg = <0x0 0x20000000>; From patchwork Thu Jan 21 03:41:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034329 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 22A6EC433E9 for ; Thu, 21 Jan 2021 03:43:39 +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 C1E822389A for ; Thu, 21 Jan 2021 03:43:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1E822389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=ps3fUc7G3BVbeXafoCyMABwRmz2DvmPpxQpL1emNu0o=; b=b0frzEHCkHcsNRf2TCO+m/oUK JGDYo9VcAMo47qlb9PaNN2O8/fI05ky//kCE4aVds2vK/vPar+qg0UllpkPSAJ1Ch+PNDwpvAIYbS +67jWA/5qf3X+FNH65CUz8z3sigknRVpMdVhLDKo9ymVL0qxSYiwVjG6LU9ZE49qYahR3LZ8b2Tbo gcvVkrmR6Yqj+EZHE6fyXI3cbNy9tGA07QUWK5O3oVtLQQ2KEMhST0pXil1dAYcjTdWQEsHOAUSM8 58Zw4YScRkvdg+ik5D0IWw03YwFFQeBGr7GGyea8RMeBS68AYOSsj3d0DhbFbaFdLxIsUhVlfKZTF YdkcYHmog==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QrF-0006Dk-HN; Thu, 21 Jan 2021 03:42:05 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqo-000659-TU for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 4E37FE0AA4; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id HsLto3Ueifax; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 0DF9CE0A82; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1CLtL-kJSw_c; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id CEB8BE0AA5; Thu, 21 Jan 2021 03:37:40 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 04/12] ARM: dts: mmp2-olpc-xo-1-75: Drop linux, usable-memory from /memory Date: Thu, 21 Jan 2021 04:41:22 +0100 Message-Id: <20210121034130.1381872-5-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224139_138968_A61A16DA X-CRM114-Status: GOOD ( 10.65 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop the linux,usable-memory properties; the schema is unhappy about them: mmp2-olpc-xo-1-75.dt.yaml: /: memory: False schema does not allow {'linux,usable-memory': [[0, 528482304]], 'available': [[847872, 519245824, 4096, 782336]], 'reg': [[0, 536870912]], 'device_type': ['memory']} They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts index e16171ddd93ec..0f8b5ad48deed 100644 --- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts +++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts @@ -33,7 +33,6 @@ framebuffer@1fc00000 { }; memory@0 { - linux,usable-memory = <0x0 0x1f800000>; available = <0xcf000 0x1ef31000 0x1000 0xbf000>; reg = <0x0 0x20000000>; device_type = "memory"; From patchwork Thu Jan 21 03:41:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034337 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 8B995C433DB for ; Thu, 21 Jan 2021 03:44:52 +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 473532389A for ; Thu, 21 Jan 2021 03:44:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 473532389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=/zfMzEc0+aOOf1gJHDEiwBWJwpYyAiZE5z9XqzaUaGU=; b=zhppwC0Z5cRPj/1EYjsVeDHxl N45Ptx/eONCSVhx7QsBy7H3nMpXSz+u3znpg2gTcHIW2q+Jsfy5uWm3PciOyYS1x1Z8w3PopmekFR 49D7+aCgiaBY0kn2v4kdfQIQlGuT/LBWfUt+ZQznbh9cDG9jEXSv1sDw/OPlEoVr8xYj+4oxje++L 7nJXE9C+0zCB945Ss1wI3VMH65tpBBajwiDTEYkak1qBWFteXLgwuLz165iX+KWPQsixM5ik8B9BN VVJucaWC0P+qf68WKneXGzZGuoqxfM1WjRrL1c6uaTVv3bY4Cf2LqZVBOgOYF4ozlQDEo7mS2h2oN RKPtuf0Ew==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qs0-0006P2-TD; Thu, 21 Jan 2021 03:42:53 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqq-00066x-Q9 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id CADF7E0A82; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4n9HQ1RkZOpe; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 91785E0AA5; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id imcHLL4-8G53; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 5C01CE0A82; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 05/12] ARM: dts: mmp3-dell-ariel: Drop linux, usable-memory from /memory Date: Thu, 21 Jan 2021 04:41:23 +0100 Message-Id: <20210121034130.1381872-6-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224141_016972_03CFB6D5 X-CRM114-Status: GOOD ( 10.53 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop the linux,usable-memory properties; the schema is unhappy about them. They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index fe3b1cd695eeb..53714cb0d171e 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -26,7 +26,6 @@ chosen { }; memory@0 { - linux,usable-memory = <0x0 0x7f600000>; available = <0x7f700000 0x7ff00000 0x00000000 0x7f600000>; reg = <0x0 0x80000000>; device_type = "memory"; From patchwork Thu Jan 21 03:41:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034331 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 CDA89C433DB for ; Thu, 21 Jan 2021 03:43:52 +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 72F6D2389A for ; Thu, 21 Jan 2021 03:43:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72F6D2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=U269SVAYB9Ndk2orBJwpFOegz4SFUfa4+EgK+GEATco=; b=bQq4sU3iaGEmYo8jr91b/wTm9 0fDV6fd/HKe3pLkbwN9K0/QsI8hmLri8QabXYPtLgJmVxHQsmlbEH6Z7I1nCj8f00xfd24V06J3eT kqoDT+2rvBYe98X44Pi2XzYQDJM30j73+5Mlz+EAYxYlXDeQGGqO/36j9ic9SMe0W8DzhLYV+oMH/ HpyL9i75+ywJWCSwCoPoI+GHmvwehn4pb2/D1yYII7V6a1ByqKHyxGUXu/mKQvrbRCs3OEaoKWu4V CTs6M7KG6yI+SYCQopenRdttDL6N2wmfV0hFITiWZFOZJ+DDhdSCgKW3+CcGpq7XS9kkWBp1BOqEp p9r+0fnSw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QrU-0006HI-65; Thu, 21 Jan 2021 03:42:20 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqq-00066w-Py for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:44 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 8C4EDE0AA8; Thu, 21 Jan 2021 03:37:42 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2JNnj_TqY2T5; Thu, 21 Jan 2021 03:37:42 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 4D5E4E0AA6; Thu, 21 Jan 2021 03:37:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Bcor7PXMo3ki; Thu, 21 Jan 2021 03:37:42 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 0B45CE0AA5; Thu, 21 Jan 2021 03:37:41 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 06/12] ARM: dts: mmp3: Extend the MPMU reg range Date: Thu, 21 Jan 2021 04:41:24 +0100 Message-Id: <20210121034130.1381872-7-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224141_006617_AA465923 X-CRM114-Status: GOOD ( 11.37 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The ACGR register is at the offset of 0x1024, beyond the 4k originally assigned to the MPMU range. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi index 4ae630d37d094..9f2b059f0900b 100644 --- a/arch/arm/boot/dts/mmp3.dtsi +++ b/arch/arm/boot/dts/mmp3.dtsi @@ -567,7 +567,7 @@ l2: cache-controller@d0020000 { soc_clocks: clocks@d4050000 { compatible = "marvell,mmp3-clock"; - reg = <0xd4050000 0x1000>, + reg = <0xd4050000 0x2000>, <0xd4282800 0x400>, <0xd4015000 0x1000>; reg-names = "mpmu", "apmu", "apbc"; From patchwork Thu Jan 21 03:41:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034335 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 8B55CC433DB for ; Thu, 21 Jan 2021 03:44:43 +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 2366E2389A for ; Thu, 21 Jan 2021 03:44:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2366E2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=mmBI0kEdP8GbBrPTcQaMyK6dup9nsRa1IDhFLSPlZJc=; b=KvoLIFt1N1mjIHEKyrDJh6XyY gC6qQ5ZBibOcPA984JYJ4c/jG+o6gAPo1Lw1Lq/Y3q8u4JXyFr0qBKpdRxl7lbPL40WNi6h1dcKDh IP2JfDpSb9Dt58yxZFJqn6y8Vup35llFwwVOz1gow1lz4dRE3pr55r9QCMo6WO8oaWgjrsrIleI7B 2tpPpYcHbOWu76Sao53mFQU4FZ/f3f3bwlhNw3ilRS7/PkLtOAADAf5WKpEqh2r3lkDPMokS+Umk1 oEjsWGQYz+BihnCkrUwiSJlVRmxqEu3HnS9V6193WzBGcaqqQS/nrbHoaht7xW22QHK5b5qSazI+G jawN/CX5Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qrl-0006KN-G5; Thu, 21 Jan 2021 03:42:38 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqq-00066z-TV for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:46 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 6F214E0AA5; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id SxeCojyWVPUg; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 2AEBAE0AA6; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8KC0LjPfF8nu; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id D2B29E0AA5; Thu, 21 Jan 2021 03:37:42 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 07/12] ARM: dts: mmp2: Use symbolic names for audio clocks Date: Thu, 21 Jan 2021 04:41:25 +0100 Message-Id: <20210121034130.1381872-8-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224141_146816_CE5344FD X-CRM114-Status: GOOD ( 10.17 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These are slighly easier to read. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 445bdcd50b9ed..46984d4c5224f 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch/arm/boot/dts/mmp2.dtsi @@ -6,6 +6,7 @@ #include #include +#include / { #address-cells = <1>; @@ -243,7 +244,7 @@ sspa0: audio-controller@d42a0c00 { interrupts = <2>; clock-names = "audio", "bitclk"; clocks = <&soc_clocks MMP2_CLK_AUDIO>, - <&audio_clk 1>; + <&audio_clk MMP2_CLK_AUDIO_SSPA0>; power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; #sound-dai-cells = <0>; status = "disabled"; @@ -256,7 +257,7 @@ sspa1: audio-controller@d42a0d00 { interrupts = <3>; clock-names = "audio", "bitclk"; clocks = <&soc_clocks MMP2_CLK_AUDIO>, - <&audio_clk 2>; + <&audio_clk MMP2_CLK_AUDIO_SSPA1>; power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>; #sound-dai-cells = <0>; status = "disabled"; From patchwork Thu Jan 21 03:41:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034339 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 A204BC433DB for ; Thu, 21 Jan 2021 03:44:54 +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 552CB2389A for ; Thu, 21 Jan 2021 03:44:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 552CB2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=spHbSOGfxX9PI5c3zbNlMZUc8aCZkl10QYedVi0HD50=; b=1cTkWjAaZYjbm4CNzA9aPNgOp zaeiRKhwLsto1Goc4jb6zGstHL4H+L09gtZs2B4U5zg8zmcTSVpJANLzVn8zski4RDOiDiv8Svl85 vnnQVba1ypUCmWoAEVJ5EedzA6qvFHHDdtXzlUitmEe9Iy+4191kmZE85vZT8fImIcVj6m2yb9Xer /cAoaIcYfivzYXOvpkupdSqKlMrByPBl09zM6RJr8gf0dZAv/f/ZDX/688l1FS/HxohOI8/0sO31+ yx6hUCgDtBjuiodZ0D0XYee2GXBnkFCF1o9WiiRPm1Auc7i+TC/tPTLiL3AhWGgxRLXFh9JUgeBBJ s0Hnn4Rjw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QsH-0006UM-GG; Thu, 21 Jan 2021 03:43:09 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqq-000670-TW for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 06C37E0AA7; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cvsnP83ra3B4; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id ABD25E0AA6; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id U_8s97sQJy5Q; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 754ACE0AAA; Thu, 21 Jan 2021 03:37:43 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 08/12] ARM: dts: mmp2-olpc-xo-1-75: Use symbolic names for audio clocks Date: Thu, 21 Jan 2021 04:41:26 +0100 Message-Id: <20210121034130.1381872-9-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224141_163726_6354C8B9 X-CRM114-Status: GOOD ( 10.52 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These are slighly easier to read. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts index 0f8b5ad48deed..55ea87870af3e 100644 --- a/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts +++ b/arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts @@ -2,7 +2,7 @@ /* * OLPC XO 1.75 Laptop. * - * Copyright (C) 2018,2019 Lubomir Rintel + * Copyright (C) 2018,2019,2020 Lubomir Rintel */ /dts-v1/; @@ -10,6 +10,7 @@ #include #include #include +#include / { model = "OLPC XO-1.75"; @@ -194,7 +195,7 @@ audio-codec@1a { port { rt5631_0: endpoint { mclk-fs = <256>; - clocks = <&audio_clk 0>; + clocks = <&audio_clk MMP2_CLK_AUDIO_SYSCLK>; remote-endpoint = <&sspa0_0>; }; }; From patchwork Thu Jan 21 03:41:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034341 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 060AFC433DB for ; Thu, 21 Jan 2021 03:45:08 +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 9F2B42389A for ; Thu, 21 Jan 2021 03:45:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9F2B42389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=KeActELJr0iqKKdCjPuWqqVswkgkNxiSk5QSP00+zY4=; b=MnhqvjHxiqz/uySQyTuAXGF04 rGKxauxgXtucJQK0uj5kr/irfFj/cHNtxYb2tZNUDk+dnRzeKmgnrc5UA6ZYc3w7ZxQXsLA1mvdgO n3/u4nOqUtEqcl1PNO+cessCZsTeXidUos0HILgLFXVAL5h+h0qMy8AGXG3vY0hfW/5bk3j0/F0yT m7pnWDZ0kcMrcmMCtjzFZ1jhFJ+HP8AkNgg/3wM/Ujr+3uji4Ub+D0RnNpf4n2aXNZ0foqoZulu08 Q87XM6Jxj939/3QY6L1HuZXAAZ7+7WAAAEvTL/obzq1uyKzb8BPqF3cqQslUQIBAqF6mxOc6fEa0h qNa38qtJQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QsP-0006XZ-Ce; Thu, 21 Jan 2021 03:43:17 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqt-00068e-1I for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:48 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id C5A18E0AAB; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JQ8ncpXoGQjv; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 81207E0AA6; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wNyiNZfv35AC; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 4ED8EE0AA9; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 09/12] ARM: dts: mmp3-dell-ariel: Add the embedded controller Date: Thu, 21 Jan 2021 04:41:27 +0100 Message-Id: <20210121034130.1381872-10-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224143_308108_3F69F879 X-CRM114-Status: GOOD ( 10.13 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the device node for the computer's embedded controller, responsible for controlling the LEDs and system power. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index 53714cb0d171e..565cd0fadf3d3 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -95,6 +95,15 @@ &twsi3 { &twsi4 { status = "okay"; + + embedded-controller@58 { + compatible = "dell,wyse-ariel-ec", "ene,kb3930"; + reg = <0x58>; + system-power-controller; + + off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>, + <&gpio 127 GPIO_ACTIVE_HIGH>; + }; }; &ssp1 { From patchwork Thu Jan 21 03:41:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034343 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 E7EB9C433E6 for ; Thu, 21 Jan 2021 03:45:09 +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 8550C2389B for ; Thu, 21 Jan 2021 03:45:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8550C2389B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=1HgoGvvt4a0kqPg/9VfXy9bmV72GE1bvcTPAUYvbfmQ=; b=YjQneS0kfc+br2DL4Hzv8q8ig Z/g3E10IQ55liE9Q8w8l5jk2nzmaHZ0pu5/dB7Zvp5GfJyAtbUejg33CcWI90N2+2g5nVtD37ul0p FtaZQHyNwPaYWAOvX40qoWZgvyDTkbHxfIk6Arc2v6uvwJWAsy/22F8kN3OjczhJkhiE9xjsn2XKK ZK40T9IXDZFa6uz3QiMNLXMgOBT+bvdvC/GQjglO/C/eodvmU4Z1rmdmAXtuv5KPAYJJ8AnDEHZkF YeI8+dMV67IB4xbnRGbdA1k50iHxKAxc/IwMXa2Olz7T7WW+zy+OJYAaViq5stPmlsAvmSLB8+/+2 9+0kFiiMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qsc-0006de-3i; Thu, 21 Jan 2021 03:43:30 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqt-00068d-0t for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:49 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 8290FE0AAE; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id LcSkUZQy2OKO; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 025ECE0AA6; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pXgSsFwuFnmt; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id C10F2E0AA9; Thu, 21 Jan 2021 03:37:44 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 10/12] ARM: dts: mmp3-dell-ariel: Add the power button node Date: Thu, 21 Jan 2021 04:41:28 +0100 Message-Id: <20210121034130.1381872-11-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224143_308793_79BD30E7 X-CRM114-Status: GOOD ( 11.26 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds support for the power button attached to the Embedded Controller on a Dell Wyse 3020 "Ariel" board. However, while the EC itself is controlled via I2C, the input capability for the power button acts as a separate device attached to the SPI, hence it has a separate device node. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index 565cd0fadf3d3..c4a6bd876d849 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -119,8 +119,16 @@ firmware-flash@0 { }; &ssp2 { - cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>; status = "okay"; + cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>; + + power-button@0 { + reg = <0>; + interrupt-parent = <&gpio>; + interrupts = <60 IRQ_TYPE_EDGE_RISING>; + compatible = "dell,wyse-ariel-ec-input", "ene,kb3930-input"; + spi-max-frequency = <33000000>; + }; }; &gpu_2d { From patchwork Thu Jan 21 03:41:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034345 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 E0296C433E0 for ; Thu, 21 Jan 2021 03:45:09 +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 8543D2389A for ; Thu, 21 Jan 2021 03:45:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8543D2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=qrU3Ty8RQt5Trky7sXTrpLNu08+kPw5NWmG4apaY+gs=; b=lsu8Ft/OMi736E96PZ2EhbZaM 84KpgKLqe46BMcBq8KQTa7o2C2Nk0gwBZfotLf25VTg5wT2ZgGRR0iUdYnOBulev/rvV7RJcqbZO2 Ezal8G1eGRZKU/+cR0Z80BSG6qHLKlMXA/v7Ja3l/BLe+wmVNeqmDllFRdAbxxfh73BaBSVmt7Gbx c2NMvmiBV6aZc6jeCvcDUAj0mq35x50ygqZ/AZhaUKoYSTGIwZaZeBN4Y+GU5kCTXg142XUND7pGR CQlUbEwhM68E0Bbn7yfpu/y6EBwWwwgFcKmlyudAr36a59yy3Wse5kFmpZVeulVMEMLIQbycnoGIS i22uqCYsA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2QsX-0006bO-OT; Thu, 21 Jan 2021 03:43:25 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqt-00068l-7M for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:49 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id BE354E0AA6; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QeRj4b-AuJuy; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 7E511E0AAC; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id f7eoDp1UMAtZ; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 46A02E0AA9; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 11/12] ARM: dts: mmp3-dell-ariel: Replace SSP2 with spi-gpio Date: Thu, 21 Jan 2021 04:41:29 +0100 Message-Id: <20210121034130.1381872-12-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224143_438644_45F11360 X-CRM114-Status: GOOD ( 10.71 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The firmware leaves the pins in GPIO mode. Until we have a proper pinmux driver hooked on we just need to bitbang SPI. No big deal, this is just used for the power button and performance is not important. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index c4a6bd876d849..fe6df364a9eb6 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -30,6 +30,17 @@ memory@0 { reg = <0x0 0x80000000>; device_type = "memory"; }; + + ec_input_spi: spi { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + num-chipselects = <0>; + sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>; + }; }; &uart3 { @@ -118,7 +129,7 @@ firmware-flash@0 { }; }; -&ssp2 { +&ec_input_spi { status = "okay"; cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>; From patchwork Thu Jan 21 03:41:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 12034347 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 2F706C433E6 for ; Thu, 21 Jan 2021 03:45:12 +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 BAD4F2389A for ; Thu, 21 Jan 2021 03:45:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAD4F2389A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:References:In-Reply-To:Message-Id:Date: 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=XufbqCSx2ko6uqGAQ0cDQ9zrHjQ+EnNt/ZxF4GFkqOA=; b=UaAI9x6iZsFf1mSM0lg2Qp53O YP3O+hTs4KMJoOiWvgCuGvNNN1RcGfJlybZokTDv6PLr5m8DVvMzBl26p3khm8cO8F3wGMtCYwLuy rNwpiVUSc/r6kh0snqq3B7qWsvnIyWkKtc5SBoMsiVA1Cn0q9OjNIB77DbVV25Xcaf3Z5vY+HlTnb HTQWzAEqbDxZualJHDMaFk4ixTeDT17+4x7iA61DglF5C9hIKpx9/Ol82ClhGe1FQpPCd1lAwYHgO NZ5eX23Vrl6/hEAPayIjFFB6UKqdSkkvhbfJHV3PvOW3JKe+dRwDzR7rJDdCgGK0ET19Hyn4NOIoX 6D8SGXIGQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qsg-0006g0-HU; Thu, 21 Jan 2021 03:43:34 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Qqt-00068m-A9 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jan 2021 03:41:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 82B7EE0738; Thu, 21 Jan 2021 03:37:46 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rqpuAFeEUP4K; Thu, 21 Jan 2021 03:37:46 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 1F68CE0AA9; Thu, 21 Jan 2021 03:37:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YoQcdNrIrArX; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id D76FCE0738; Thu, 21 Jan 2021 03:37:45 +0000 (UTC) From: Lubomir Rintel To: Arnd Bergmann , Olof Johansson Subject: [PATCH 12/12] ARM: dts: mmp3: Fix the CCIC interrupts Date: Thu, 21 Jan 2021 04:41:30 +0100 Message-Id: <20210121034130.1381872-13-lkundrak@v3.sk> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210121034130.1381872-1-lkundrak@v3.sk> References: <20210121034130.1381872-1-lkundrak@v3.sk> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_224143_515261_9CC9CDC0 X-CRM114-Status: GOOD ( 10.24 ) 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: , List-Id: Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lubomir Rintel , SoC Team , Rob Herring , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org A copy & paste oversight from MMP2; camera interrupts are handled via a multiplexer on MMP3. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi index 9f2b059f0900b..a4fb9203ec1fb 100644 --- a/arch/arm/boot/dts/mmp3.dtsi +++ b/arch/arm/boot/dts/mmp3.dtsi @@ -293,7 +293,8 @@ mmc5: mmc@d4217000 { camera0: camera@d420a000 { compatible = "marvell,mmp2-ccic"; reg = <0xd420a000 0x800>; - interrupts = ; + interrupts = <1>; + interrupt-parent = <&ci_mux>; clocks = <&soc_clocks MMP2_CLK_CCIC0>; clock-names = "axi"; power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>; @@ -305,7 +306,8 @@ camera0: camera@d420a000 { camera1: camera@d420a800 { compatible = "marvell,mmp2-ccic"; reg = <0xd420a800 0x800>; - interrupts = ; + interrupts = <2>; + interrupt-parent = <&ci_mux>; clocks = <&soc_clocks MMP2_CLK_CCIC1>; clock-names = "axi"; power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>;