From patchwork Tue Mar 22 20:11:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789010 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E6A9C433FE for ; Tue, 22 Mar 2022 20:14:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229569AbiCVUPu (ORCPT ); Tue, 22 Mar 2022 16:15:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233410AbiCVUPs (ORCPT ); Tue, 22 Mar 2022 16:15:48 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11olkn2060.outbound.protection.outlook.com [40.92.20.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E97BFDF63; Tue, 22 Mar 2022 13:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TR7OdXqul9SIZcI+DMr4egApol6kZ4fz2N1rQKGYQNKkljxP3quBi7fpmoSaPtbLpX35QBx1wlJJVKjtMOp3gkIilQKJCC3ov7I8aGMkQJXgcIHxVeew/3B1yiS1xQjx9zeBwg3YXsRDU/pqEQf6IxYkOVJPBYT2B9Ucik8WZ92O8a8La2Ofl59Zr7ptViiMrCBZaXr9TvQ8YnMYPlNWdP9Js/SeDwKHIuD8aW9cCex84Bbc74TH1o97DZh5m9WIVqYunIdsMY2K78GF3HIqxLENkSTp+ZQE0kZxov+1ky8BxCGzfmFGyQlPTJZ1TKl2NKCrsZxECY0d0aO7gb9vyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nFbvMZoEnRIj1hXG53utVqyxuf4e5prW49IEdyuFKYQ=; b=L2ulqK1EkSZAWNKkHvSO7x3EyKADc5glXOzlIBE7vii665cPkjRPf+5g52mC05PSaOiC6pz1HSFJd6+j/Y0KKpQECGDt37H8xfhqwa8Q2XQBOzgJBVL/O39NotKR1bsatz2JxoJ5LxsfVGbqCO0HyDSgVTOJSJLX+vOyoVNkO41j02xMXrjal3rzx4OnEgrkpBMAb/hOhvmMKHMkNsBmoikDTZBemZzqrMZv9jmDqjyvr0FCsEdqy3EAr1hWNzasW7uzUuqCOj17xRfb7GFDdXSE/Qv89ulRrqMqLLxAfsOo89gdtaax5na+uoSsbHKLLa3oW5TNrme27HVES1xbTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BN6PR04MB0660.namprd04.prod.outlook.com (2603:10b6:404:d9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Tue, 22 Mar 2022 20:14:19 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Tue, 22 Mar 2022 20:14:19 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 1/7] ARM: dts: s5pv210: Split memory nodes to match spec Date: Tue, 22 Mar 2022 13:11:38 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220322201144.20320-1-xc-racer2@live.ca> References: <20220322201144.20320-1-xc-racer2@live.ca> X-TMN: [aP9eTJQxIdQImTd5NrhT45+PVcU3gxJ5RsCTJrxYvYv1VlDKIOSiS0ygtlMyf+PZ] X-ClientProxiedBy: MWHPR17CA0094.namprd17.prod.outlook.com (2603:10b6:300:c2::32) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220322201144.20320-2-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3e0647f0-0ac6-4f90-cc13-08da0c408b52 X-MS-TrafficTypeDiagnostic: BN6PR04MB0660:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DmlgAVCS9tJFo/ucG26D/nZ0N++V27bcz+vAnOlEe2eT4mfPoTCjKg7GXqn0iNhGMry6EIAxi3wXRizVok25gcQ0ujawS7JhZALtKTsXZ9pm0uQniyvYE5SynlkapEDhlDxzPHvUX3jNSEblx23GqYfzi8yRCKEm4R0hcUJdYxLUTvuZXMtuaGeEZ5pH0WNcpmzhIGqD7jbVFsD/k1nnOczGN2/WoQ2GYHM2LNQCc0M8Als0JB8KCbSr6jQMvMrc42lL89pjiZb1bT9B9cmM9/q3Txq+0GcSTW5xKI5P7B/Qg5lXpp0c38r2QvmfxqJzlz+gBHpf/A7HVbMx9cXCYobxMtyq/8ttH0EtaKUuUrmFl5XRvzj3EztrC7r14X9IoQ3OKkzn2+q5r1NEWul7sGGxvaY+0xKloQUrzpcYPL5pJ8HMVrwdtzfqEuNlgX9VyXGkr8qsMWGIaY3uZ3NgC9/MOyylsAcd7p1wmi2rY/ui3oAyIYswRBLWiXmrvOTaAiHBJ4PrVVsJG5cf+WAebJzCKN65cciq2Xo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/aJBO+cNrQ+ELf8phCuHkqNAu/ZTYaTfn2pLZOEjEYO0mgShJvQzQKgWPFFCOiYR13WYb9hf82r7LitxWZoFN1Fg2soOBNEo/I/9tAvhUvh7hE9zJAhvpDQHQMSyfZ/wxYSSxFPq6148XYS6Snc4p/ty770Ymnpxjwt7HAvdpumeNiJVMzG933w8FvJqSp9aVkXIbcuRZxSa6+BA/Ob8mqePN200YCdRu4M9q/vadOKpnF4Wmt/B5bkmqnCuyhV3DeGimQ== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3e0647f0-0ac6-4f90-cc13-08da0c408b52 X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2022 20:14:19.3120 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR04MB0660 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Memory nodes should only have a singular reg property in them, so split the memory nodes such that there is only per node. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aquila.dts | 8 ++++++-- arch/arm/boot/dts/s5pv210-aries.dtsi | 14 +++++++++++--- arch/arm/boot/dts/s5pv210-goni.dts | 14 +++++++++++--- 3 files changed, 28 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-aquila.dts b/arch/arm/boot/dts/s5pv210-aquila.dts index 6423348034b6..6984479ddba3 100644 --- a/arch/arm/boot/dts/s5pv210-aquila.dts +++ b/arch/arm/boot/dts/s5pv210-aquila.dts @@ -29,8 +29,12 @@ memory@30000000 { device_type = "memory"; - reg = <0x30000000 0x05000000 - 0x40000000 0x18000000>; + reg = <0x30000000 0x05000000>; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x18000000>; }; pmic_ap_clk: clock-0 { diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 160f8cd9a68d..70ff56daf4cb 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -24,9 +24,17 @@ memory@30000000 { device_type = "memory"; - reg = <0x30000000 0x05000000 - 0x40000000 0x10000000 - 0x50000000 0x08000000>; + reg = <0x30000000 0x05000000>; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x10000000>; + }; + + memory@50000000 { + device_type = "memory"; + reg = <0x50000000 0x08000000>; }; reserved-memory { diff --git a/arch/arm/boot/dts/s5pv210-goni.dts b/arch/arm/boot/dts/s5pv210-goni.dts index c6f39147cb96..2c66ec5cbfbb 100644 --- a/arch/arm/boot/dts/s5pv210-goni.dts +++ b/arch/arm/boot/dts/s5pv210-goni.dts @@ -30,9 +30,17 @@ memory@30000000 { device_type = "memory"; - reg = <0x30000000 0x05000000 - 0x40000000 0x10000000 - 0x50000000 0x08000000>; + reg = <0x30000000 0x05000000>; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x10000000>; + }; + + memory@50000000 { + device_type = "memory"; + reg = <0x50000000 0x08000000>; }; pmic_ap_clk: clock-0 { From patchwork Wed Mar 23 15:03:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789820 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0CF5C433F5 for ; Wed, 23 Mar 2022 15:03:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244974AbiCWPFA (ORCPT ); Wed, 23 Mar 2022 11:05:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235615AbiCWPFA (ORCPT ); Wed, 23 Mar 2022 11:05:00 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2063.outbound.protection.outlook.com [40.92.23.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AEEE5D1AD; Wed, 23 Mar 2022 08:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y0P0hfADIuSOw5dzKNO750yybTXv5B1+rLpi6EDqpqtifHM4wK2BJ5vJ+nkiVeZyx1RdxMjOqQpaCHVTCwAWechpTfrIQNmQdGQrC2CuOQnL1Zd9UW7fE2bBFvd+Ia9TZ9fsI2Li1i+Z2vAMMh+3/nP986uVqxdz4tBhhv5JdYQyoraXTwNcYw4Wi8rEAAjPBmjY9BnfEDjOqeHzBPenYPw4l1ywfsQomiar2is9AOVIX6a7D8Tg/t3LFMdcy87GPlhpLBLM3zq+nTj+89luErapRwSxhVNRP8ely8snEvYqSqjXMvQ5wSkbxZ6nISKEYCqeBJU0dRyPLNB3aXrsKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Hf3/pK5DeARVgV+VOBVtbAGEk2HwUFjUbPT/Csnsik4=; b=LERWnxTgQTaTsfAdTujBSxPSrKR4b0eCXc8H02ylQ3F1yhC2RAXZyd01fhYM8cKC1KKIB9VtyFXXCTqjV6XVohc3rnh03lWv2cKq3xp3cRuKBimdTbp3RG8cz+Pryg9uo5fj4zvSVSu9u2D7pdKzCl4sWRZvK87yxaRxTDl8o6W8v2Jh2vKyPixAxiUf1PIISY3zBzUsKXKFCmRHQMSHxKNiLW2mq9GFxdxBArAf5U7QTwbO7cQMBtcRSTrUH/ILrJCznc1FaRo1qzV2hHXv+QLY5qxPqBwO20C4ZYIL61QsbB0k4yyH2SeYBhgas+G2zHAjTiGn8bVCxZ+p89mLNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BYAPR04MB5638.namprd04.prod.outlook.com (2603:10b6:a03:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Wed, 23 Mar 2022 15:03:26 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Wed, 23 Mar 2022 15:03:26 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 2/7] ARM: dts: s5pv210: Adjust I2S entries to match spec Date: Wed, 23 Mar 2022 08:03:06 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: X-TMN: [TQtYdL6bv1cgAY7In5drmxY/W/hEfVnWc0RS+CZRgoUyaMetHopieTgGjYt/CV06] X-ClientProxiedBy: MWHPR12CA0030.namprd12.prod.outlook.com (2603:10b6:301:2::16) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220323150311.26699-1-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff0dff2a-6998-4c05-98e6-08da0cde487d X-MS-TrafficTypeDiagnostic: BYAPR04MB5638:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C3ELMEtPI9zRSefAw7IqjJIaiB2iOEwfOUr4WjsZkSn9PlVv5OOuvQiq6TyV4/GKBLPOZ9yuXEhQY1PYHbYKNwJEDkyg8ma/0CbJsRAGN0VkOogKwc6zEw5D7RqXu2cJZE+mH1kB9c2wHHPWEh7MOhmHT+Fbs+rckbu9gpe62rsP/Mp0p5TtNRpHlpAsrU+K279ylCD5GKP1KQzuf9DUWPWHC4ZNU2bT7vdxnTrOaMiGS0aNHQ9lYiTO6jSMmYo5ZCd3zYj6M3VIWObbBrN1nQ+uWY53pgtI/PsizUA4gG9noutLHDnrifwSMJb3Jd1MZtpFE0eDHpQapeSjbm5ucN7i4+aQBGnqnfRDUk9QyuKiKPjGzq+tjAcQjO7rtb9zV/nVcqsJZICigsHf7zux+lELZeAK7pYjodeqmljPOhSs5fWfi8hbX5rx+Oj86yKlVZZ0wsDBsjM8ZkthVTHP+UPXYfViAH1GpnRYkbrT49FGXzqc6Qq8S1umUg/hYdDsSGubCEkR73S9PnsO03p2H/avI0WhLyV84HKWsagx2twoGxCdhE/Jtq2IhkU/LW1Yhn7Yh28Pt3j6aMq4YiPpeg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WKSxj5rpsVv3B0VQ/kfLkWRRPKhRFvZIZ1GYyM67Lat+8Qx4onMuWnresPjEjSO77dPnsS2r9k0ZbX7GxSNTh3kAqbTfC4JgROL3qQpryNkzAdvrV7qOAkYJri7+JVp70qbUvC7TXb1twmF/VUNlWzvovJfrMF1PRgsdokBxfpoqvbYQK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msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: ff0dff2a-6998-4c05-98e6-08da0cde487d X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2022 15:03:26.8559 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5638 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Based on the device tree spec, clocks should be ordered tx/rx. Re-order from rx/tx to avoid warnings when running make dtbs_check Additionally, the number of #sound-dai-cells should be 1, not 0 Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 2 +- arch/arm/boot/dts/s5pv210.dtsi | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 70ff56daf4cb..503b5a50ef1a 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -644,7 +644,7 @@ }; &i2s0 { - dmas = <&pdma0 9>, <&pdma0 10>, <&pdma0 11>; + dmas = <&pdma0 10>, <&pdma0 9>, <&pdma0 11>; status = "okay"; }; diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 353ba7b09a0c..56c1d9a19570 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -239,8 +239,8 @@ reg = <0xeee30000 0x1000>; interrupt-parent = <&vic2>; interrupts = <16>; - dma-names = "rx", "tx", "tx-sec"; - dmas = <&pdma1 9>, <&pdma1 10>, <&pdma1 11>; + dma-names = "tx", "rx", "tx-sec"; + dmas = <&pdma1 10>, <&pdma1 9>, <&pdma1 11>; clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; @@ -250,7 +250,7 @@ samsung,idma-addr = <0xc0010000>; pinctrl-names = "default"; pinctrl-0 = <&i2s0_bus>; - #sound-dai-cells = <0>; + #sound-dai-cells = <1>; status = "disabled"; }; @@ -259,13 +259,13 @@ reg = <0xe2100000 0x1000>; interrupt-parent = <&vic2>; interrupts = <17>; - dma-names = "rx", "tx"; - dmas = <&pdma1 12>, <&pdma1 13>; + dma-names = "tx", "rx"; + dmas = <&pdma1 13>, <&pdma1 12>; clock-names = "iis", "i2s_opclk0"; clocks = <&clocks CLK_I2S1>, <&clocks SCLK_AUDIO1>; pinctrl-names = "default"; pinctrl-0 = <&i2s1_bus>; - #sound-dai-cells = <0>; + #sound-dai-cells = <1>; status = "disabled"; }; @@ -274,13 +274,13 @@ reg = <0xe2a00000 0x1000>; interrupt-parent = <&vic2>; interrupts = <18>; - dma-names = "rx", "tx"; - dmas = <&pdma1 14>, <&pdma1 15>; + dma-names = "tx", "rx"; + dmas = <&pdma1 15>, <&pdma1 14>; clock-names = "iis", "i2s_opclk0"; clocks = <&clocks CLK_I2S2>, <&clocks SCLK_AUDIO2>; pinctrl-names = "default"; pinctrl-0 = <&i2s2_bus>; - #sound-dai-cells = <0>; + #sound-dai-cells = <1>; status = "disabled"; }; From patchwork Wed Mar 23 15:03:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789821 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BDC8C433FE for ; Wed, 23 Mar 2022 15:03:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241321AbiCWPFL (ORCPT ); Wed, 23 Mar 2022 11:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244950AbiCWPFH (ORCPT ); Wed, 23 Mar 2022 11:05:07 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08olkn20825.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8d::825]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0101074848; Wed, 23 Mar 2022 08:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cUrSrs2beOYVkKC+UFrkoc+RN3iOXN+W0c3foalVeyzbmXauSW5mdh6Hb7HvcTrb3Uad+xwWPNeDHJigx5QJb2Aws0FjeqxXmqfQ34p6mmsy9GngRg9AxADCilXoY8yYxfPHmvVZowUod6mSydkqVfKlwozAFGk3VBvbV9TarolJksqh8H1JOtpW+CogvFWtTJDqwEimDT08HW5gk13bvx9JgtY7uZ+SeKIR5QkfBLqnuz4EsYfStWY1m4V03v4qyHqTRbie0Yow4Lv09lfVwIUVDkljuy5OstfUHaU8ZznqnlT6Fc7Lj6435S5lItUj4CaJ1bZ8PK4g5DghjBeDGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=rxICZtq3LMaqME1mWpQKdDI8ZA6sCfEBNltGSsYmueU=; b=Cz29/BI+kfemxicr+fF6ZwHOz3wYzmoK0+oCcdv1f2YgvQ9ybDW2dsWPMr671VuuBfDfLjpqri4Oy0Fxw3xRjnB29gSDstz+Y0uaQGsTSCkywOPzvySTTmU8W9hRRrCk+w3M+vg97ukxi21n6HFuc5WKdmNKdPSk2qV8mj6oV1GGdo4TlyaDdoU+Rhg0T5X6dFyA4fTahGquABY+xv1QHm2dWlvh7ix7Zm1nWQBPdLJWExYQv2yeYDdQuE8MGN2rUlux3fOajB1iXVSAxaYlvrS1EKW2wYQ5MhIF1FwWWAT1SqSe7UfS5x1/xvYSYhG3kYaUhgy+QbY64AE8/26zXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BYAPR04MB5638.namprd04.prod.outlook.com (2603:10b6:a03:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Wed, 23 Mar 2022 15:03:33 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Wed, 23 Mar 2022 15:03:33 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 3/7] ARM: dts: s5pv210: Adjust DMA node names to match spec Date: Wed, 23 Mar 2022 08:03:07 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220323150311.26699-1-xc-racer2@live.ca> References: <20220323150311.26699-1-xc-racer2@live.ca> X-TMN: [HyrhdYZRycnd7OjWCiAFFFKPRO72ZiOvnecc9/gwLrBYMkFz8QYtHM+A/V8x0Fem] X-ClientProxiedBy: MWHPR12CA0030.namprd12.prod.outlook.com (2603:10b6:301:2::16) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220323150311.26699-2-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 41a48ec7-9c01-4169-4814-08da0cde4c2b X-MS-TrafficTypeDiagnostic: BYAPR04MB5638:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: B5bTc7qK267RDNVHOOZIU2rpkutGfBfICCxOrEP9ibCA4M2ClVHNeAy8lMQ24aVUVp2786sUF3MYctaevrn3q+1BIkhZLxLac67a7sMS7HQYf56Ska3Dl63ggS9UpJxvMKYxKxo98n68lvv6gkIBONiXTrnCqTzPGA40/xXqTErVR/R4nrz/SLk4MoP4jtqHxa71XIKe1CN4VDv2bUjIJBJAQF7BZqM2SkIsSh7rPEoA7iqxSlxZ4qy33C2gIa7mTYCpX9dL/8JCxvrhUe3Nuoe+yZe057ijVIDy0agZ/7qwbxfCblCFY4PfiVaM3VGQtI0ukHaAPyDOL/p2EvYjhW53Q9Xb7e/xKfA7ESH/kP9qEeMsFl89Hul10WOio+teBtP663qTNPZL+W4jItyu/RDjP9jLjX/4qFce2ItkGHmgLcAMHVhziS14EO88PbdUk0G1awiDp4DuqoJEE3piKgcI0tU365O8n4M3dlsobf1UAGgkjVNR/4BkPNJ0Q7donFS/0HtP8v5xD0cWfGpJsHzM1/vQdqfQVZhysbJVE2OL4u/Nk0CgQxmLdVDeeIowICVBChm2gJqzJjCpH9MvMw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 5t2G+n4FuqepO8zGLn/xKcGmY4SthFQNGLZ9siC0rsEW1pHa3+ARr6J9VPRIHon9slbh7ZbDK8R95rKuQ3gBLlkbNXhXndHGEmOQ+LYbj2fCNqGElB63BymfkFOMsegKjYxZgHRkYn8XY2kgK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1ijLgAavv50M+mI46kUg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 41a48ec7-9c01-4169-4814-08da0cde4c2b X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2022 15:03:33.0586 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5638 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org DMA node names should be dma-controller according to the DT spec, so rename them from pdma/mdma. Prevents warnings when running make dtbs_check Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 56c1d9a19570..14e6a270363f 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -117,7 +117,7 @@ }; }; - pdma0: dma@e0900000 { + pdma0: dma-controller@e0900000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xe0900000 0x1000>; interrupt-parent = <&vic0>; @@ -129,7 +129,7 @@ #dma-requests = <32>; }; - pdma1: dma@e0a00000 { + pdma1: dma-controller@e0a00000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xe0a00000 0x1000>; interrupt-parent = <&vic0>; @@ -528,7 +528,7 @@ clock-names = "sclk_fimg2d", "fimg2d"; }; - mdma1: mdma@fa200000 { + mdma1: dma-controller@fa200000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xfa200000 0x1000>; interrupt-parent = <&vic0>; From patchwork Wed Mar 23 15:03:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789822 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54013C433F5 for ; Wed, 23 Mar 2022 15:03:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237497AbiCWPFM (ORCPT ); Wed, 23 Mar 2022 11:05:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244993AbiCWPFK (ORCPT ); Wed, 23 Mar 2022 11:05:10 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08olkn20825.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e8d::825]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FA0075C1B; Wed, 23 Mar 2022 08:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Btvg5O3+je89uBzAuoX3DRnNymNhxNE+j1Er/l1BxuxLYcc9wUE4cpOnrMg3ErmrxbgCQIRXAvrXU6LmZps8yWenRCIrpzRNWWkBTKLcokop5rMbX7zCicjBteEc7f5nVEfy94YATCZJeR+2AgE3f+XOyRGDSC87OG1LqZ75qqyPrRiMQykjRGHDQkfjeqvSr42WS8cvjvDqrUTXk8Xhz3R0S2aFmS9ASEBO1KtvwkkHQn8sDzX/r15AZCcon5oPi+e4uDpThxuUm6sFJTBXBoPiAMtJTvzG4Elx2phl2hjsCp2Am8GjjdRqeg3o5uYUOGp/LdatwZl6l98DCLCUoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6W6QkKh+dyh1iN9kLjJgVijQMiYvRTX4aLQdlxyikd4=; b=Mgw1gsWwZrpqTYPZmoZCuJ37eV8GyWnrboVb8Eer5OgqAKUHQoAjWge3SPsgAb3DMbxmA+knI28iHzrTqD0ZwBzkvwcPrti9m8ES/RwTU8vweUm7WQigiuNwsFHAsk1ggvF36AmDI3OzTYxulpHGJ43hTT6sYSDfbeW+ID9hwRy2URnxg5dLVc4ndJD5GHwcwyQbAHwp6fXhpGDfaKRiQ94h1e5ncfENwY/yayr4O0Aa6ua2Ux+UubQT7lSqyNvBq2uuoAZctC9n1CZEaCOWOwAlKiYm+Pzbv+I/2f+G57CQq4xc0v2kTzoTMOwblSuNWVxHHsn7rxnAX+wX0BTFRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BYAPR04MB5638.namprd04.prod.outlook.com (2603:10b6:a03:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Wed, 23 Mar 2022 15:03:37 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Wed, 23 Mar 2022 15:03:37 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 4/7] ARM: dts: s5pv210: Remove spi-cs-high on panel in Aries Date: Wed, 23 Mar 2022 08:03:08 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220323150311.26699-1-xc-racer2@live.ca> References: <20220323150311.26699-1-xc-racer2@live.ca> X-TMN: [4auSBIXIdn5ea5r1ZSiNIc0LujmToOjIwwEfq2N9yAzTEQrCWrq9mj6Gwxog26hN] X-ClientProxiedBy: MWHPR12CA0030.namprd12.prod.outlook.com (2603:10b6:301:2::16) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220323150311.26699-3-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e96c8311-024d-4d5f-842c-08da0cde4e7a X-MS-TrafficTypeDiagnostic: BYAPR04MB5638:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fpi0H2GtcTZ6LujYVk+9gli9ONulIqmioecV7LNRJO5HbMmPkcCrxv8sgcpV41E/lU1vjBYkiTEX5qVis6aFhbMqHDGApqUBu26vM86McbOqwBqoaXj3JuFUn6cyl1V5cSyLyvApAsmcvsf9k6dx1fffGlOQKHhRGfK0htKCrWrm16C/h0HKRaaZSoYOEkVWJ2LnKpdOzoyraS2Thycdl5qzcoYlujXwArMuprJIL9qHWlf0eVoSMywwSEDla23hYiWvMIagR4LS1+SNvrxBo2maUKr9xPnzeruIjvqBWm9r7r0O8KFls3zrwFvfc95nIT7Qi8mpKLnyyzdoJMCgYiiidZfmO+2RJmFykh4As0aJJPu3ML3yL1ihNU9iRrt3Jsv8yxkM86ZXdFrMAHT2gVn0QFl15Re6dQ2uL4dCFuKY/DN9ApwrC0s9CHx3cAoBLVACBgy0ctQydCDIMiQWuO+F9o/56rL+HsHbqIeZ86n2HDb0IYL05PioyFCXQCyery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ZQy7FbJKw2xd6d/kHqRBMLlGYvjarVo27PSTOigDRP5n9/c5IYnvWB1IPxeiXkHWOWee9Fn8Ey6xRbH9U9LS/F7t9v8LDHbUiHYivCFtek1zqkH1Fg8F7M4dq/espjJkDmUWBe5nWJO4PjGJm9auIlkJWQtD++U/c9XVCEipNZJaLEuw1XdnFfK4WtPZo5AAXqynYaQlSPcCj6gUWTiKFlYottGiR2FsbMWRJSJpSsSQ98pSycxKcXZZfWce3PitaDjeG1WQH65Adq1bVCuzISAQTWOkdMlZ1A4Gw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e96c8311-024d-4d5f-842c-08da0cde4e7a X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2022 15:03:37.0114 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5638 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Since commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors"), the panel has been blank due to an inverted CS GPIO. In order to correct this, drop the spi-cs-high from the panel SPI device. Fixes: 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 503b5a50ef1a..b5d625f12132 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -572,7 +572,6 @@ reset-gpios = <&mp05 5 GPIO_ACTIVE_LOW>; vdd3-supply = <&ldo7_reg>; vci-supply = <&ldo17_reg>; - spi-cs-high; spi-max-frequency = <1200000>; pinctrl-names = "default"; From patchwork Wed Mar 23 15:03:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789823 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE034C433FE for ; Wed, 23 Mar 2022 15:03:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245016AbiCWPFT (ORCPT ); Wed, 23 Mar 2022 11:05:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245000AbiCWPFO (ORCPT ); Wed, 23 Mar 2022 11:05:14 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08olkn2077.outbound.protection.outlook.com [40.92.47.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8F4174861; Wed, 23 Mar 2022 08:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mc9QleTrEwu4sXQIyPhnJvUL21xqMFI6s+yweFzQtVK8X/voxbQcfC8zJXXqdJ46bNzCtYIRT3O2D+KZ6BIXcV9nxzoAOBWVXlh9Xk6lhZ2HGSUTaKRR4j2F61BYRhvv66AdcvMXudgfKHAcDB1LBphvoxj/SvRZKaUz2Nj5+oN7SYMHvaerykqaHDzj3qTobapeyMnsJk3rbohhIv4DxgWfMFq/FRV9Zx8I+M5o4RJkOwHO6KNBCrlXm9vIghV33a09aoBJnvtbohRMvIxw2ilhpqY8YOzYAGhlOwiM9um9ZwPpX1aY9WBIkv9qljqY5Dss6hL+uZJu7ABQ3kQQMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E7V6pEGMwgrnYm8UgQ4HGV2AM/nPBj7JxIB8R3LTicg=; b=DRSgp7T8qALvDNfoj+szu9gAFwf4Ax21fs2jLqNuRQ0IraGiUlaysM+4zaTw42aHAu5AHX328e7pp0ee6qA5g1YQMwWRFMSOzGoMdBu0p9uMjH6pwc3biO/1f/g8vBK0cbjjNXJMdUnW6NTVMu6N6T4w7MAPoUZKW/Vb9Oz1L71eJKQb1f7Z+g7EWJoPSz5VwO8R/bp2Zu2sLF5O7oyofJX/B5uplXLvqmuVGaukSYjEyMGtHc8izwOA0mvS3QlEXQOfiB2xAWsRlpwOLU4nbivpqYUHTRiZUZc1CTYppHyi8PN8ckvuecxgygbJk7ozcA3YaLImeXDYRNw5+IcZvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BYAPR04MB5638.namprd04.prod.outlook.com (2603:10b6:a03:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Wed, 23 Mar 2022 15:03:40 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Wed, 23 Mar 2022 15:03:40 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 5/7] ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries Date: Wed, 23 Mar 2022 08:03:09 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220323150311.26699-1-xc-racer2@live.ca> References: <20220323150311.26699-1-xc-racer2@live.ca> X-TMN: [ez85+BoA3aQd0TkbjG1jXD0ePVIT6FV6ID4emsY5lk3dXCrH0RKTfeeHiqHecz2F] X-ClientProxiedBy: MWHPR12CA0030.namprd12.prod.outlook.com (2603:10b6:301:2::16) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220323150311.26699-4-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b778504c-9921-4468-2697-08da0cde508e X-MS-TrafficTypeDiagnostic: BYAPR04MB5638:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fYVSFMYObrZHmHkFNj8wpTI7QyEgKbx64in1qvJx+/x8BPbaMNIxo86fucym5eZX7tm+GaXVI/o95PXAUdJiy7vuSKKDjCbT9O28jaGv3X0Bm64p1Si2xd156AxORVivg2Yu7/hq4wsZsSyETcnw/cK7Kvpeb37bhjBtdZahGjEVfsGFyqw0o4b5lh/ZeE6otvt0Ft7kU45Xoo0wIWeSzzD8kVeLF9MDDz45EJGjEzj48aMPlesYU58wysvXlNBTHrwVGlcN+gwdN3f+3ByTvNGsnP82ugrBWwIh/I5wKojaqq1IPCl/Dlh4dSHzxkvTpCgC0htTGwkVLwxPOS8yYrTyE9NJQEjMU5lpncUv2Jlclx5d96jMjWryZ84a0dF+24HvFZokDgv3j0wOJH9KnwqNX4o8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xWGGTianXx7TLrbqYVSyPWg9m7H6dK69XWLokF6glZAHJHRTntby698m/+Foes9dhVDWVFFW6ZBItU+nNTWmRSUj8mP7UJh0E2eKaGZsH21sxfPL0KhV49KbboubS08XxKtZWYMhexT0VJJOESURTvOVNBwbEI+DFX9UrQAbwR177MyUJleHMbrJmEFu3v/BF/3GPrkSdRC3kmQzh4jcyRXsY+SSRFq0tpud0k02jHJm5sM4WDrlIPbuqHfV3HHmgXMPMqe3TqjcavqepII7JvBeu6IjBkM7LuNGt7/QqWCswrqU0guwQkP5+yEHamcBOD7qXWMZKAHREHQa8K8WUT5CRo7HB8VzvKoOgNhHZxDX49k3C8GXm0xSau3cfPDm+94Im9LVCMvTM+WRZA== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: b778504c-9921-4468-2697-08da0cde508e X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2022 15:03:40.4175 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5638 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Correct the name of the bluetooth interrupt from host-wake to host-wakeup. Fixes: 1c65b6184441b Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index b5d625f12132..13a065f5df5e 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -902,7 +902,7 @@ device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>; interrupt-parent = <&gph2>; interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; - interrupt-names = "host-wake"; + interrupt-names = "host-wakeup"; }; }; From patchwork Wed Mar 23 15:03:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789824 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEBECC43217 for ; Wed, 23 Mar 2022 15:03:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245001AbiCWPFU (ORCPT ); Wed, 23 Mar 2022 11:05:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245011AbiCWPFT (ORCPT ); Wed, 23 Mar 2022 11:05:19 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08olkn2077.outbound.protection.outlook.com [40.92.47.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 818ED7D01F; Wed, 23 Mar 2022 08:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=crC4oTOemn59XpTxq4hedqrgkRKGWioEpM+8cPRI36wkBI9wftNpDzQCHoZERv0crqKMzHyjwVwn6QDUPVna21d2h6tKUuZQ16rfhXAkh4wdWF1MvnlVqqNnssOUadVJwcGzPAaSz/EnVX89HmXOOjRzoEW4JVweWr6blqHcRBLlEx3wW1y+F/LQxdcxSFGZufCHwlhdzw4F9O2kLs8ATNgaOwZgrsb9pWAvqWpAgCwvt8LUkuogTyzkYGZtSt3YMEdZD46DO8Wk9vDZCXIuZGNWjuiUgbxxlrmXrotQfSXvGWXS0iA9c5YOEg0ka6CBA9wSokLpYuVoqoACu8emkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7odFYps8hj4TSD9DRho+dhdfmQqY+5i0dv+u7EeyY4Q=; b=PPEXKNm6nAmddcMSHe9i1m+esIDuVCs3yrNdnVrPc6j1HYBEZZPTQ5mp6LYbDNoPs9obkM48Vy6xxFGSi8Y+oK6blnGL4OkJ1lYNSHuAyQyVGXhrBkf11a6B5ZQkaHZJPt6f64EzusacI46H63myt2yZh4uUAWl2n+yAm8lFfQovpISIw5klM836q/AbVhAuhGhU/H2uvzXJElC5WYJhKBWUubED2dm4h9z/0WyXxAwqpzfGp52+1y/GeE1xpI+PaVVgLXJ0NSK612vGdOK3HU/AGZ836ShbqFmmlPMTyThu/jwJcMCdtPLHb4BbbWOpr8iIFEyrdFw0cCO/4Bu5tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BYAPR04MB5638.namprd04.prod.outlook.com (2603:10b6:a03:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Wed, 23 Mar 2022 15:03:42 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Wed, 23 Mar 2022 15:03:42 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 6/7] ARM: dts: s5pv210: Add charger regulator to max8998 in Aries Date: Wed, 23 Mar 2022 08:03:10 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220323150311.26699-1-xc-racer2@live.ca> References: <20220323150311.26699-1-xc-racer2@live.ca> X-TMN: [507H+gNQspGrH3BaDAjMJYaWbUgZ3C4aC15BkXWN7u2JEMlirKRrUQnSJrqZobDX] X-ClientProxiedBy: MWHPR12CA0030.namprd12.prod.outlook.com (2603:10b6:301:2::16) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220323150311.26699-5-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 32ffcd46-a181-4c03-fbfc-08da0cde51ee X-MS-TrafficTypeDiagnostic: BYAPR04MB5638:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: czH7ffFmLjoKZdjOoQDIFUPFbzgNtd99PDd+JPXtN12UCRielwC/ae6pTSleoxlhjFOoJPxclK4T7NxtjeV1TXIZwAeSYnYoK6Sf1uV/qadN3pdfEqN7C3CnMdcV2LV5QibaunZgg+jbwJj+0nWBSDKi8VoLufIwwjmjcVlrRxprAVAH4QFqo71oQk1pziQGdKru+1lWuxtdkCIfoFUZG0T+OqEDHgsQuB9YPQ9E5mq1VWVOAUcwvraPn6NKoFDBJjjP+7Y00/yGWLmp8UXVz0aWfLYFjP/40OvTmNanhuHP7F4v1oHU1GgWRBzk7y4PS5+9UOaD0ixHQPn/VyCH4ocfm+NECNqetEwTvdY15H42uyMKpWjXrmTO6M719etxMwEYgI1Ztcj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EyJdYIw55RdatVkmQI6FdM3CqJx3lC8D3AXKTVq6QaDQTrL9pnc6CPOU4d6ea8vbXP/54qYELqx+DAGGGJkBJNMNqqVn4w5iBvserejTL1UQcsvTg4TU1wXg0ief96X2dKcEOGSn0haoREj5bCmwz+HG6MvDil4UvLB2VjLeJvGHtkeF5JfBM3rx8N80n/ky17HFmsUEKeN5CkUEXhMcDB+UU+FJpabGuFCeRy4hclx9fohmxF7XRCThj8yhtbsiSJ83VwojooPC3YSTo1I7Tt1T6l0nV/unojq1y3BLeGOCKlMgBG9E06zsjzhKfn+9bQySmI3k+pCsPiiNUoYUgIpQjyZ00ysapotLEMEiEzUqFeiIYg2pZvlVeLs6QhXQwPU0PWTle95ZRCiERmZl9nYUj5T2Sn6SUyWghg26fuTiV9yw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 32ffcd46-a181-4c03-fbfc-08da0cde51ee X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2022 15:03:42.7142 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5638 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Enabling and disabling of the charger is done via a regulator on them max8998 PMIC. Add control of it in preparation for full charging support. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 13a065f5df5e..781d843da89b 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -424,6 +424,12 @@ safe2_sreg: ESAFEOUT2 { regulator-name = "SAFEOUT2"; }; + + charger_reg: CHARGER { + regulator-name = "CHARGER"; + regulator-min-microamp = <90000>; + regulator-max-microamp = <800000>; + }; }; }; }; From patchwork Wed Mar 23 15:03:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12789825 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5F99C433FE for ; Wed, 23 Mar 2022 15:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245000AbiCWPFY (ORCPT ); Wed, 23 Mar 2022 11:05:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245018AbiCWPFT (ORCPT ); Wed, 23 Mar 2022 11:05:19 -0400 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08olkn2081.outbound.protection.outlook.com [40.92.47.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF06C7DE22; Wed, 23 Mar 2022 08:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hIUtevFkfgMPRFP80I2M3PLmcol8pplBNrKx2QaKhIgCFvfDt6iSpa3gUP1pDjAxWIOKzZzE/e32scsU43Rbx5Jpb6GjYhLi+2Ekk2HIAoe3A/NAMeVQKVSN+hknGXRrUbDNpMF7BBKS8P+Rbp9dVxD/bQLtS8hoyvf9yW9ae482Gws7DbuEDSzO0VVZtPjZ5Q77+ukcBPsftwUX5JNe0h6sdlxfC5Pe80koj+jsqGxbpACuOtlhhUBcoUWTlPKjfT5WJh5L10qp45Xt4n+3GmhGtIsBGhbTFIpTe/oMLKPQXSvIa366JzLb+muVMj99hAHOzuKzVzK0YM5z1/RVUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n+azOx6dCVyJXZqdk+EI5cyv4DgSWjqQmIIAKE0ukoE=; b=YMZIH8AKCBxrnn8qtqJHlxKDa9cWx0UHyqiDx5Huq35EOzM5fXQUmKmpUpdRSLKjKUie5d1+TR/2oChzHuvotDsZHVxRYfojJ4rKvlPbDxDeZn9gdjGPzAV/i38x0MRsNV6QjNxofFudJqNwAE4XPGsFmp5RpZh233GZOC7eTGdPgVkKLEKkBHj3JuAh6MjcaxxMaTR/YT6MW6G4of23YcDHECudoUzN29z6/NhS+NxX0Ug4Yxz84g3JaQQ6iaQYrAetCDKhWDQ2RAYRCsFAXWgwfd489bj6Umd9vWoJq38X6hnfDcFEPZNRrK3pHPXOEnk0lZhYx5fVknVZMwGcRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BYAPR04MB5638.namprd04.prod.outlook.com (2603:10b6:a03:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.19; Wed, 23 Mar 2022 15:03:45 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.016; Wed, 23 Mar 2022 15:03:45 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH 7/7] ARM: dts: s5pv210: Add charger support in Aries Date: Wed, 23 Mar 2022 08:03:11 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220323150311.26699-1-xc-racer2@live.ca> References: <20220323150311.26699-1-xc-racer2@live.ca> X-TMN: [ycEHKKWNAKfC7i2fTWd9r4f4xEfz1KvLVXX/nrHZMxJVQyo+nsxQ21FNh+XZfHU4] X-ClientProxiedBy: MWHPR12CA0030.namprd12.prod.outlook.com (2603:10b6:301:2::16) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220323150311.26699-6-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 94bb0a0f-9369-4fa9-818c-08da0cde5360 X-MS-TrafficTypeDiagnostic: BYAPR04MB5638:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JRv+sWrmAA2qx7YFyfqk7PbqxfoQtNUQAarMrOG4MB53xBog418BX/oHX68x7KOSXdNuLWY2zCr2nGxgbZLlQBmICRfL/iu353g6zOFOnXjvqWXBJ+GHoBaTMWboCZX8fJ1hmH7jMlUkx3uG9Wkjv/tGNH7ily1lu/BW9u3UKz6WV0J1V2Gy+cjWxwhRtXee9YN3wceRp7u7+XDBSNxdG33FAPtDflHw++/ohPN3lKQ3Vx3GLeSfOkI5FDzLDbi+ccP1M6NtTH5g4SHECaS9nS46QpScRHIkw98Rv2GQSzDlkKaKL3xcGMfRVyN3ISwvEOO1WzA/z3pcHmhsXxHwk/N8ZtQD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bkjxyMpCCTcvTbjd4COeuJTyC4jYmGBWBrSnFyQG3vfV+hxHvC4yB1eyAYO2SFa29Kxv9VNtS5GLpJ7wJnkW7kb5dxm9JJ3I7PIfw/pK6Lq9l8UZoZEJ8GnMvIc/f2n70B+BjM6aNnBWPqrtCfAmPgc2M/IF+SF9usrda7ex+iZf5StAZ+nUyfZ1zASnK2SNkRD/rBlCk08veJF5Vv08lDdtPpyeQ3wZ5GZ6YOKKpNwupvH4CBngqHb4u2go1fCNeiXIVkh1fAavN3/OwMRS/5XFngh+TR7dxypvN8CoCzdpPILuhzJheR3NX4Hej/w7QmCF6DamLyJ/+kJlpUOhxdqJ/5IDElbu+wpxqhcfB4kaIMRPPdBdbKqcNFG0nu88EJqjBvlVbEWJ5DGxG5PPQADv/GmyvOY1wLtHa9DmDjZd/g6sTuyDC946DYsRSb35EiljQeaefiH2rhRHpyDzonKCQCEqYVxm0UoUg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 94bb0a0f-9369-4fa9-818c-08da0cde5360 X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2022 15:03:45.0734 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5638 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add charger-manager support to Aries boards to allow safe charging of the battery without the need for userspace control. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-fascinate4g.dts | 162 ++++++++++++++++++++++ arch/arm/boot/dts/s5pv210-galaxys.dts | 144 +++++++++++++++++++ 2 files changed, 306 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-fascinate4g.dts b/arch/arm/boot/dts/s5pv210-fascinate4g.dts index 7427c84f1126..9530231b7a70 100644 --- a/arch/arm/boot/dts/s5pv210-fascinate4g.dts +++ b/arch/arm/boot/dts/s5pv210-fascinate4g.dts @@ -57,6 +57,168 @@ pinctrl-0 = <&main_micbias_ena>; }; + thermal-zones { + batt_thermal: batt-thermal { + polling-delay-passive = <60000>; /* 60 seconds */ + polling-delay = <600000>; /* 600 seconds */ + + thermal-sensors = <&batt_thermistor>; + }; + }; + + batt_thermistor: thermal-sensor-0 { + compatible = "generic-adc-thermal"; + #thermal-sensor-cells = <0>; + io-channels = <&adc 6>; + io-channel-names = "sensor-channel"; + + temperature-lookup-table = < + (-20000) 1859 + (-19000) 1846 + (-18000) 1832 + (-17000) 1818 + (-16000) 1804 + (-15000) 1790 + (-14000) 1773 + (-13000) 1756 + (-12000) 1739 + (-11000) 1722 + (-10000) 1705 + (-9000) 1691 + (-8000) 1677 + (-7000) 1663 + (-6000) 1649 + (-5000) 1635 + (-4000) 1550 + (-3000) 1510 + (-2000) 1500 + (-1000) 1490 + 0 1480 + 1000 1470 + 2000 1460 + 3000 1450 + 4000 1430 + 5000 1420 + 6000 1406 + 7000 1386 + 8000 1366 + 9000 1346 + 10000 1326 + 11000 1302 + 12000 1278 + 13000 1254 + 14000 1230 + 15000 1206 + 16000 1182 + 17000 1158 + 18000 1134 + 19000 1110 + 20000 1086 + 21000 1059 + 22000 1035 + 23000 1011 + 24000 987 + 25000 963 + 26000 937 + 27000 913 + 28000 889 + 29000 865 + 30000 841 + 31000 816 + 32000 794 + 33000 772 + 34000 750 + 35000 728 + 36000 708 + 37000 690 + 38000 672 + 39000 654 + 40000 636 + 41000 616 + 42000 599 + 43000 580 + 44000 565 + 45000 548 + 46000 529 + 47000 512 + 48000 495 + 49000 478 + 50000 461 + 51000 440 + 52000 431 + 53000 416 + 54000 405 + 55000 396 + 56000 375 + 57000 360 + 58000 347 + 59000 334 + 60000 325 + 61000 311 + 62000 303 + 63000 296 + 64000 290 + 65000 279 + 66000 265 + 67000 254 + 68000 240 + 69000 220 + 70000 206>; + }; + + charger_manager: charger-manager-0 { + compatible = "charger-manager"; + + cm-name = "cm-battery"; + + chg-reg-supply = <&charger_reg>; + + /* poll when externally connected */ + cm-poll-mode = <2>; + cm-poll-interval = <30>; + + /* read supply status for status */ + cm-battery-stat = <0>; + + cm-battery-temp-diff = <5>; + cm-battery-hot = <5000>; + cm-battery-cold = <400>; + cm-battery-cold-in-minus; + + /* 6hr max charging time */ + cm-charging-max = <21600000>; + /* 1.5hr max discharging time */ + cm-discharging-max = <5400000>; + + cm-fuel-gauge = "battery"; + + cm-fullbatt-voltage = <4176000>; + cm-fullbatt-vchkdrop-ms = <30000>; + cm-fullbatt-vchkdrop-volt = <176000>; + cm-fullbatt-soc = <92>; + + cm-num-chargers = <1>; + cm-chargers = "max8998_pmic"; + + cm-thermal-zone = "batt-thermal"; + + regulator-0 { + cm-regulator-name = "chg-reg"; + cable-0 { + cm-cable-name = "USB"; + cm-cable-extcon = "7-0025"; + cm-cable-min = <475000>; + cm-cable-max = <500000>; + }; + cable-1 { + cm-cable-name = "SDP"; + cm-cable-extcon = "7-0025"; + cm-cable-min = <380000>; + cm-cable-max = <600000>; + }; + }; + }; + sound { compatible = "samsung,fascinate4g-wm8994"; diff --git a/arch/arm/boot/dts/s5pv210-galaxys.dts b/arch/arm/boot/dts/s5pv210-galaxys.dts index eeec2bdece11..240cd0a5c9cb 100644 --- a/arch/arm/boot/dts/s5pv210-galaxys.dts +++ b/arch/arm/boot/dts/s5pv210-galaxys.dts @@ -74,6 +74,150 @@ }; }; + thermal-zones { + batt_thermal: batt-thermal { + polling-delay-passive = <60000>; /* 60 seconds */ + polling-delay = <600000>; /* 600 seconds */ + + thermal-sensors = <&batt_thermistor>; + }; + }; + + batt_thermistor: thermal-sensor-0 { + compatible = "generic-adc-thermal"; + #thermal-sensor-cells = <0>; + io-channels = <&adc 6>; + io-channel-names = "sensor-channel"; + + temperature-lookup-table = < + (-7000) 1667 + (-6000) 1658 + (-5000) 1632 + (-4000) 1619 + (-3000) 1614 + (-2000) 1596 + (-1000) 1577 + 0 1559 + 1000 1536 + 2000 1513 + 3000 1491 + 4000 1468 + 5000 1445 + 6000 1421 + 7000 1396 + 8000 1372 + 9000 1348 + 10000 1324 + 11000 1299 + 12000 1275 + 13000 1251 + 14000 1226 + 15000 1202 + 16000 1178 + 17000 1155 + 18000 1131 + 19000 1108 + 20000 1084 + 21000 1060 + 22000 1037 + 23000 1013 + 24000 990 + 25000 966 + 26000 943 + 27000 920 + 28000 898 + 29000 875 + 30000 852 + 31000 829 + 32000 806 + 33000 784 + 34000 761 + 35000 738 + 36000 718 + 37000 697 + 38000 677 + 39000 656 + 40000 636 + 41000 615 + 42000 595 + 43000 574 + 44000 554 + 45000 533 + 46000 518 + 47000 503 + 48000 487 + 49000 472 + 50000 457 + 51000 442 + 52000 427 + 53000 411 + 54000 396 + 55000 381 + 56000 368 + 57000 354 + 58000 341 + 59000 324 + 60000 306 + 61000 299 + 62000 293 + 63000 286 + 64000 275 + 65000 264>; + }; + + charger_manager: charger-manager-0 { + compatible = "charger-manager"; + + cm-name = "cm-battery"; + + chg-reg-supply = <&charger_reg>; + + /* poll when externally connected */ + cm-poll-mode = <2>; + cm-poll-interval = <30>; + + /* read supply status for status */ + cm-battery-stat = <0>; + + cm-battery-temp-diff = <5>; + cm-battery-hot = <6300>; + cm-battery-cold = <400>; + cm-battery-cold-in-minus; + + /* 6hr max charging time */ + cm-charging-max = <21600000>; + /* 1.5hr max discharging time */ + cm-discharging-max = <5400000>; + + cm-fuel-gauge = "battery"; + + cm-fullbatt-voltage = <4176000>; + cm-fullbatt-vchkdrop-ms = <30000>; + cm-fullbatt-vchkdrop-volt = <176000>; + cm-fullbatt-soc = <92>; + + cm-num-chargers = <1>; + cm-chargers = "max8998_pmic"; + + cm-thermal-zone = "batt-thermal"; + + regulator-0 { + cm-regulator-name = "chg-reg"; + cable-0 { + cm-cable-name = "USB"; + cm-cable-extcon = "7-0025"; + cm-cable-min = <475000>; + cm-cable-max = <500000>; + }; + cable-1 { + cm-cable-name = "SDP"; + cm-cable-extcon = "7-0025"; + cm-cable-min = <380000>; + cm-cable-max = <600000>; + }; + }; + }; + micbias_reg: regulator-fixed-3 { compatible = "regulator-fixed"; regulator-name = "MICBIAS";