From patchwork Wed Dec 19 07:07:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 10736795 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A9DF2924 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 995362AAA5 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D6932AE28; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 369922AAB2 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728145AbeLSHIJ (ORCPT ); Wed, 19 Dec 2018 02:08:09 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46428 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbeLSHII (ORCPT ); Wed, 19 Dec 2018 02:08:08 -0500 Received: by mail-wr1-f65.google.com with SMTP id l9so18278534wrt.13 for ; Tue, 18 Dec 2018 23:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VZ7uNN0k2yuA/9SO4H7LdBx/F2uaTpjMn1JCveqGhDQ=; b=YCpeU/a4SPcjJONZBxgahSGo6+/0jCnaELdltjBY2VCacwRHeXvQmXp2x08WpRJ9r5 PC2tDOldMhJjwYcTi0rIerXDI4rkCsi+IzIm9eokeY1VFtlmlv008zG4Pythm3/v5Lbe jfAEDzhachfxmKwFqZRSp3+q4PbeC6acm6KSg6T6gYeU5YVtwKaIKegm5VDKu61uQBR4 wJTpxJjhrqDeGwX5q7nnGk6UFjzCp8bnqw3EdNTqZkeq8DfTK1t41ycpfzY4CSEbHdWl /i+f7gVSzO8DG/y+fDkUt7SgJICPGzfUpNxbFuqq2stLQ+2ByohvHUXFrFCabZho04hh r72A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VZ7uNN0k2yuA/9SO4H7LdBx/F2uaTpjMn1JCveqGhDQ=; b=N9ZNfUHm9Ny2b+yPALqq07KEVcExY909ew0b3sIyvXdxiXFd2WE5IC5ehDDFoKIdAt f+5i+Ui7ePZhDD8Tizs0QVhVqQ9RH6i/391Ry/M0OD0K9iGpG4DFy9qvH8NJu3zVzr+p vrKk6yedoZgGjwSSNWSzTEGRbOAWDGbmeVXWrDCazutNZ2QjmosNVP4UmDbILQGGGyn+ ymFi40bpO3WCBcqYDF01RJI7sTfj/dFvvUz1z5spEKK/Ojy+KUiJFz0KAo2OF/+7JXTD 7Re8N5pyLj24/6JF8exQSYwlwmr6XHiwIYl2BA131cKsQ+hWC19VT2fKVp7/rOejWk2V 0kxg== X-Gm-Message-State: AA+aEWYFkAyIfQW3KpB6oFaHcK2ucWCS+sfKiGdQvGjQQ+asv5eEYaJX Fz4xCcSCfPT/aX4lkoGy+Az1/Fbw X-Google-Smtp-Source: AFSGD/VzZp/xE9KqRdkrI9ZR89fkrrefwd/iuomNyxHkYRnBKL2eiWQ65obHp2Ld1bpEsDgtysmF6w== X-Received: by 2002:adf:b592:: with SMTP id c18mr17165152wre.89.1545203286729; Tue, 18 Dec 2018 23:08:06 -0800 (PST) Received: from flagship2.speedport.ip (p200300C20BD333581B9ECEB655B1C7D2.dip0.t-ipconnect.de. [2003:c2:bd3:3358:1b9e:ceb6:55b1:c7d2]) by smtp.gmail.com with ESMTPSA id s16sm3245724wrt.77.2018.12.18.23.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:08:06 -0800 (PST) From: Manuel Lauss To: Linux-MIPS Cc: Manuel Lauss Subject: [PATCH 1/5] MIPS: alchemy: cpu_all_mask is forbidden for clock event devices Date: Wed, 19 Dec 2018 08:07:59 +0100 Message-Id: <20181219070803.449981-2-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com> References: <20181219070803.449981-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP change alchemy clock event device cpu_all_mask to cpu_possible_mask. Gets rid of a warning, which then does the same substitution: WARNING: CPU: 0 PID: 0 at kernel/time/clockevents.c:468 clockevents_register_device+0x130/0x140 rtcmatch2 cpumask == cpu_all_mask, using cpu_possible_mask instead Signed-off-by: Manuel Lauss --- arch/mips/alchemy/common/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c index ff4dbe3dee34..b0f949c907dd 100644 --- a/arch/mips/alchemy/common/time.c +++ b/arch/mips/alchemy/common/time.c @@ -82,7 +82,7 @@ static struct clock_event_device au1x_rtcmatch2_clockdev = { .features = CLOCK_EVT_FEAT_ONESHOT, .rating = 1500, .set_next_event = au1x_rtcmatch2_set_next_event, - .cpumask = cpu_all_mask, + .cpumask = cpu_possible_mask, }; static struct irqaction au1x_rtcmatch2_irqaction = { From patchwork Wed Dec 19 07:08:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 10736797 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D1A46C2 for ; Wed, 19 Dec 2018 07:08:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C5C22AAA5 for ; Wed, 19 Dec 2018 07:08:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4096D2ABF4; Wed, 19 Dec 2018 07:08:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA9C32AAA5 for ; Wed, 19 Dec 2018 07:08:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728151AbeLSHIJ (ORCPT ); Wed, 19 Dec 2018 02:08:09 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52221 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728141AbeLSHIJ (ORCPT ); Wed, 19 Dec 2018 02:08:09 -0500 Received: by mail-wm1-f68.google.com with SMTP id b11so4889317wmj.1; Tue, 18 Dec 2018 23:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vKTUZ4jxMu7q6W0p5Lc6TisV9hX+M4ixTYtAmBCXrfY=; b=hyTSbmdndbAfo9EceETIXWLz9w1SBAzddMF0B6XwzhXnUy6F2vd0vYWF93QSwLnWm0 8fMyectv/MTBaK9XSvAYmXhy38wFHlkaJasLneVaGObOA+VuGaYYVSL2+C1IgOK9cTkl 9FwRTK23sbjpB2zH34OBYczJ5x0NjGZzQ3UQyQANxAIs/WfSGCNF7fFgE5GXa8CiVLLs Ebm02H75vfKWXHdQZwSPPQ5O7TjwgkLT/ikZzJLTS1/picpfoxj0CN+P0zUxMs5GYL3j PUBmDLKrJtwXqqGmNVQHwMsLCWoY6DY/T+lF8HqcfgH33hWA8UefRrT0IFN8vMhdR12C +oPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vKTUZ4jxMu7q6W0p5Lc6TisV9hX+M4ixTYtAmBCXrfY=; b=aK7h2o7B/Kh9EM/javvrDa+nZAmS4suNRdxmSLgshRYIVYGLH/x7/Q5oCRWZMsjWFS HfJ8LX+ZrIcz69bt5ECO4PLtuH0rv+exzsLL0hUAvnwRhuR0UXXMYpzpS4ZJF2DLR/NC qUSPZnWSmzftHr+5pTsw90ZyUDV77zUfFV57w43CdwxZhNmU7n7SZQhDO6VoC+OCbjbr aMy5GxkRfGd7F4cxgZ23uwcZKgj6aCl0AEWMwOSVe2Gx/QHe+sITbF/b4ccegBkJbph/ KjTC5UEM3kCtnBESJUxNACeeMqnN3iH9lG2ApEZdLvWPmWgPzE3gkc8g+kAp59qmESh6 QQGA== X-Gm-Message-State: AA+aEWZHv7qGYq0aWk3bjqDQ8H7szESSEdi5JM2gSAn4S//Q6zbhCM7c RrDbhRCNN1X4oz7mj/jDd1dbemYg X-Google-Smtp-Source: AFSGD/XosRE82Tb04H+cg4NVYPX4NnIOOBh5uP/MNxJoYR1JSP1C/kW2TDopxyS8/rq/lOfQsD8IVQ== X-Received: by 2002:a1c:6e06:: with SMTP id j6mr6084714wmc.3.1545203287286; Tue, 18 Dec 2018 23:08:07 -0800 (PST) Received: from flagship2.speedport.ip (p200300C20BD333581B9ECEB655B1C7D2.dip0.t-ipconnect.de. [2003:c2:bd3:3358:1b9e:ceb6:55b1:c7d2]) by smtp.gmail.com with ESMTPSA id s16sm3245724wrt.77.2018.12.18.23.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:08:06 -0800 (PST) From: Manuel Lauss To: Linux-MIPS Cc: Manuel Lauss , netdev@vger.kernel.org Subject: [PATCH 2/5] net: drivers/amd: restore access to MIPS Alchemy platform Date: Wed, 19 Dec 2018 08:08:00 +0100 Message-Id: <20181219070803.449981-3-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com> References: <20181219070803.449981-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The MIPS Alchemy platform needs access to the au1000_eth.c driver, which resides in the AMD driver directory (as the chips were at a time made by AMD). Cc: netdev@vger.kernel.org Signed-off-by: Manuel Lauss --- drivers/net/ethernet/amd/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/amd/Kconfig b/drivers/net/ethernet/amd/Kconfig index 9e5cf5583c87..2bd93c7def99 100644 --- a/drivers/net/ethernet/amd/Kconfig +++ b/drivers/net/ethernet/amd/Kconfig @@ -7,7 +7,8 @@ config NET_VENDOR_AMD default y depends on DIO || MACH_DECSTATION || MVME147 || ATARI || SUN3 || \ SUN3X || SBUS || PCI || ZORRO || (ISA && ISA_DMA_API) || \ - (ARM && ARCH_EBSA110) || ISA || EISA || PCMCIA || ARM64 + (ARM && ARCH_EBSA110) || ISA || EISA || PCMCIA || ARM64 || \ + MIPS_ALCHEMY ---help--- If you have a network (Ethernet) chipset belonging to this class, say Y. From patchwork Wed Dec 19 07:08:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 10736799 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0362F6C2 for ; Wed, 19 Dec 2018 07:08:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E82392AAA5 for ; Wed, 19 Dec 2018 07:08:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC87D2ABF4; Wed, 19 Dec 2018 07:08:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 814D82AAA5 for ; Wed, 19 Dec 2018 07:08:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728141AbeLSHIK (ORCPT ); Wed, 19 Dec 2018 02:08:10 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40034 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbeLSHIK (ORCPT ); Wed, 19 Dec 2018 02:08:10 -0500 Received: by mail-wr1-f66.google.com with SMTP id p4so18326290wrt.7 for ; Tue, 18 Dec 2018 23:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hst+F6VKhDFpZObL3jgNAlAblZFRxOaBP89DJzo+N5U=; b=OYE7FrNjE5TCyPx7Bfn3JPdd9rnDbOxu/GT+GtR+TQxXlN2WC3IxZXkJ4HmkiU6gEU T2bgSaBqALN3wvMKtTdTBbuSC96wBW7v0t6Z/TGHEryWIAhDimfcHuegWCW4hHxgSvpe 23+ZSpJUG2Ylv/yHYQUAcCKbHacpJoMtLi8uhJIE4R5Z2C48w/jMPsVc0t96HS8w8hVw oqYMv0IPVbXdIaiBt49AZrlOaR1gVZqnQVEEgcNdqi8CMUNOLGooVDkquK+GDl/+J1+b RuWxYW9qDho2HUfvQILMo0/rWYR85AMe9kFlZO1DGZiOiCUDKYtz2kxsHS7NYHVckx/f yFAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hst+F6VKhDFpZObL3jgNAlAblZFRxOaBP89DJzo+N5U=; b=MIWkLCaoZYdumorRbT1zX23/cDOMtavKp80fQMklI3rTrDFHK20inB+uAaIUH54e8u PA8gl4EWTnBwN9kssoo90UL6El/KvIbU7RzbUNA8Zy0w0mtci4pCbeLSpfDsaGEXBGkT cBOULK7d6Qv7Rh+b7NWNtlPWNGGN+o5zwp/kkFsZvTfNf8sL48eDBqhX+g4PFkL60vPm LuVyuHdhoBNcRsHfnqD/s0B1be/TVTKqC9Mx1Tdwi9BG4yg7E0Us/noUFenKff3VPx5i A0eFHqLiKzds8OiruXmC67CfW4GRdPlyI0VCQnCyLb74vjN6RI4bKPjeOGfmBXSVwVOT qugQ== X-Gm-Message-State: AA+aEWZz/mEoCF7K7nYsStzphkNOjb6qxxAT3bTeIn6Hm0yWgsnk/v4w d84EP7Xi4G2XljKwJtYklWGOKZQV X-Google-Smtp-Source: AFSGD/URZHY+4lsifIQHmhzD3oZhuBhR9Y05+u9mV2XDVD0a8zIX55zbByR9BfsQsgKlDGjzvzbR9A== X-Received: by 2002:adf:9521:: with SMTP id 30mr16495503wrs.192.1545203287876; Tue, 18 Dec 2018 23:08:07 -0800 (PST) Received: from flagship2.speedport.ip (p200300C20BD333581B9ECEB655B1C7D2.dip0.t-ipconnect.de. [2003:c2:bd3:3358:1b9e:ceb6:55b1:c7d2]) by smtp.gmail.com with ESMTPSA id s16sm3245724wrt.77.2018.12.18.23.08.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:08:07 -0800 (PST) From: Manuel Lauss To: Linux-MIPS Cc: Manuel Lauss Subject: [PATCH 3/5] MIPS: Alchemy: drop DB1000 IrDA support bits Date: Wed, 19 Dec 2018 08:08:01 +0100 Message-Id: <20181219070803.449981-4-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com> References: <20181219070803.449981-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The IrDA drivers are gone, drop the now unused DB1000 board support for it. Signed-off-by: Manuel Lauss --- arch/mips/alchemy/devboards/db1000.c | 58 ---------------------------- 1 file changed, 58 deletions(-) diff --git a/arch/mips/alchemy/devboards/db1000.c b/arch/mips/alchemy/devboards/db1000.c index 13e3c84859fe..aab842a8ddf3 100644 --- a/arch/mips/alchemy/devboards/db1000.c +++ b/arch/mips/alchemy/devboards/db1000.c @@ -389,58 +389,6 @@ static struct platform_device db1100_mmc1_dev = { /******************************************************************************/ -static void db1000_irda_set_phy_mode(int mode) -{ - unsigned short mask = BCSR_RESETS_IRDA_MODE_MASK | BCSR_RESETS_FIR_SEL; - - switch (mode) { - case AU1000_IRDA_PHY_MODE_OFF: - bcsr_mod(BCSR_RESETS, mask, BCSR_RESETS_IRDA_MODE_OFF); - break; - case AU1000_IRDA_PHY_MODE_SIR: - bcsr_mod(BCSR_RESETS, mask, BCSR_RESETS_IRDA_MODE_FULL); - break; - case AU1000_IRDA_PHY_MODE_FIR: - bcsr_mod(BCSR_RESETS, mask, BCSR_RESETS_IRDA_MODE_FULL | - BCSR_RESETS_FIR_SEL); - break; - } -} - -static struct au1k_irda_platform_data db1000_irda_platdata = { - .set_phy_mode = db1000_irda_set_phy_mode, -}; - -static struct resource au1000_irda_res[] = { - [0] = { - .start = AU1000_IRDA_PHYS_ADDR, - .end = AU1000_IRDA_PHYS_ADDR + 0x0fff, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = AU1000_IRDA_TX_INT, - .end = AU1000_IRDA_TX_INT, - .flags = IORESOURCE_IRQ, - }, - [2] = { - .start = AU1000_IRDA_RX_INT, - .end = AU1000_IRDA_RX_INT, - .flags = IORESOURCE_IRQ, - }, -}; - -static struct platform_device db1000_irda_dev = { - .name = "au1000-irda", - .id = -1, - .dev = { - .platform_data = &db1000_irda_platdata, - }, - .resource = au1000_irda_res, - .num_resources = ARRAY_SIZE(au1000_irda_res), -}; - -/******************************************************************************/ - static struct ads7846_platform_data db1100_touch_pd = { .model = 7846, .vref_mv = 3300, @@ -497,15 +445,10 @@ static struct platform_device *db1x00_devs[] = { &db1x00_audio_dev, }; -static struct platform_device *db1000_devs[] = { - &db1000_irda_dev, -}; - static struct platform_device *db1100_devs[] = { &au1100_lcd_device, &db1100_mmc0_dev, &db1100_mmc1_dev, - &db1000_irda_dev, }; int __init db1000_dev_setup(void) @@ -565,7 +508,6 @@ int __init db1000_dev_setup(void) d1 = 3; /* GPIO number, NOT irq! */ s0 = AU1000_GPIO1_INT; s1 = AU1000_GPIO4_INT; - platform_add_devices(db1000_devs, ARRAY_SIZE(db1000_devs)); } else if ((board == BCSR_WHOAMI_PB1500) || (board == BCSR_WHOAMI_PB1500R2)) { c0 = AU1500_GPIO203_INT; From patchwork Wed Dec 19 07:08:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 10736801 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B033B6C2 for ; Wed, 19 Dec 2018 07:08:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0ECF2AAA5 for ; Wed, 19 Dec 2018 07:08:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9579F2ABF4; Wed, 19 Dec 2018 07:08:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C5D92AAA5 for ; Wed, 19 Dec 2018 07:08:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728155AbeLSHIL (ORCPT ); Wed, 19 Dec 2018 02:08:11 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53601 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726818AbeLSHIK (ORCPT ); Wed, 19 Dec 2018 02:08:10 -0500 Received: by mail-wm1-f66.google.com with SMTP id d15so4952613wmb.3 for ; Tue, 18 Dec 2018 23:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p0CjUopsqbZR0PDGZ2K6Ilo52CtrbZ2loe+iqvdso7Q=; b=C28J8VmBNhtdIbOAyBplrFQOaSLpUeSKXg+/OGuYMTUxQ7e069lBIlZlZD9qHZtkK8 WX/KeOis9E6Va0tbGwuoQ0375SG8+xTcxaltyCJ040jfyEzIHA+F0iacmXDFaG8tPhPD UA3zXrT1dyrV1e0y6mNfUuccYaedgjd8KFrcfiCpAZdPM8qD2DWVV891Wi3lV8oKgCAK V2B6YtGG5/1dtwrAVqEgLnw/JIaQiU1CQeBxn00AMPWInHX+XsvOPns0f0MqGYDOdg34 aezfKhxS2y10YSJqBSkwyiN7ySX3MExyBihQdcpQ8lYyHOl+Tm1i0eDB5WPvwiY3odwo pkyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p0CjUopsqbZR0PDGZ2K6Ilo52CtrbZ2loe+iqvdso7Q=; b=hxZNDVh/fnW6us8RLYOFmexzLtjz/HVuithTrNpmKlE70F8A3tvyaQcXlEnxme2b9I BBw+5euVhKq1c1s+VWCV2DOGx90V1wJG5h7gWaQupkEt1kUU9bMW4wzHBaKNOHhlFjX6 +06hcIueBfXuPSvkTQcMCCBqNipQD4g5E3sApuloF1NPiFjk67O9/qvJlNKamQ3xzXRj jLsjO2i2vIOnxeoLQWb/y1Xko1n49yfBMTTJKLjyc38fNwWw499jYmYZSFabgDv5m57w QZl7hZsqdv7DGAGwVCyi28FRUhoJkWgRiN30zKH7bVswd2Aw5kT39uOpJkP7fLkNVB+I 5UGw== X-Gm-Message-State: AA+aEWZZWNVTkZUwHtGFYMeIpbY/SWpWL3DbHEO88inc42N9UFd5djzy +tbx4YSh4IMrFD/UUOrNQ8m6GAGF X-Google-Smtp-Source: AFSGD/XeBpmTo3iz77hC86cVeFSs+n6U2rdtHeyN6s0Qzoyo/yAusDgtmCNvsnayL/9IBC+BZJNc4g== X-Received: by 2002:a1c:dc86:: with SMTP id t128mr6290258wmg.42.1545203288422; Tue, 18 Dec 2018 23:08:08 -0800 (PST) Received: from flagship2.speedport.ip (p200300C20BD333581B9ECEB655B1C7D2.dip0.t-ipconnect.de. [2003:c2:bd3:3358:1b9e:ceb6:55b1:c7d2]) by smtp.gmail.com with ESMTPSA id s16sm3245724wrt.77.2018.12.18.23.08.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:08:08 -0800 (PST) From: Manuel Lauss To: Linux-MIPS Cc: Manuel Lauss Subject: [PATCH 4/5] MIPS: Alchemy: update cpu-feature-overrides Date: Wed, 19 Dec 2018 08:08:02 +0100 Message-Id: <20181219070803.449981-5-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com> References: <20181219070803.449981-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No shiny new stuff for Alchemy. Tested on DB1300 and DB1500. Signed-off-by: Manuel Lauss --- arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h b/arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h index f439cf9cf9d1..ecfbb5aeada3 100644 --- a/arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h @@ -75,10 +75,12 @@ #define cpu_dcache_line_size() 32 #define cpu_icache_line_size() 32 #define cpu_scache_line_size() 0 +#define cpu_tcache_line_size() 0 #define cpu_has_perf_cntr_intr_bit 0 #define cpu_has_vz 0 #define cpu_has_msa 0 +#define cpu_has_ufr 0 #define cpu_has_fre 0 #define cpu_has_cdmm 0 #define cpu_has_small_pages 0 @@ -88,5 +90,6 @@ #define cpu_has_badinstr 0 #define cpu_has_badinstrp 0 #define cpu_has_contextconfig 0 +#define cpu_has_perf 0 #endif /* __ASM_MACH_AU1X00_CPU_FEATURE_OVERRIDES_H */ From patchwork Wed Dec 19 07:08:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manuel Lauss X-Patchwork-Id: 10736803 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 451C6924 for ; Wed, 19 Dec 2018 07:08:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33C702AAA5 for ; Wed, 19 Dec 2018 07:08:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 282DC2ABF4; Wed, 19 Dec 2018 07:08:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A0F22AAA5 for ; Wed, 19 Dec 2018 07:08:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbeLSHIN (ORCPT ); Wed, 19 Dec 2018 02:08:13 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34275 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbeLSHIN (ORCPT ); Wed, 19 Dec 2018 02:08:13 -0500 Received: by mail-wr1-f67.google.com with SMTP id j2so18357174wrw.1 for ; Tue, 18 Dec 2018 23:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0rdFdeR5wsN1QZtfW2Lzo8NR0lTcORoDhBaQZrBtVuo=; b=DpHHZQt+8Iw9kujgNZCAva560JJ05CwuKmTpOKa6Y/zcbjErU1BV0yZ92GRVAJk0T0 eoOJ8UGz0bqGYZIqQ1fkL0npQzzZWpcZAXue485haCmw/AhBicfbafcZRjmO1/f3ZF5d buO/iN4rqHG4LdzOtL+fBs1j6GGQgH6kfz4LnChT2oSfbUvjBLGs7kc6ANK9tDRkY6B2 bl4R/xVHvDOrnQ6pZAMmxRbvJpIExyc4QN60NkYl2+njgEj67kievUapC30XhJsaaLF9 Ic+ozYXxqYVAY4FaOQFW+vNMg0+gaSsQlxnPJuECysEC4uVkBCMheQ/joyTUvmVQo3Od qtmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0rdFdeR5wsN1QZtfW2Lzo8NR0lTcORoDhBaQZrBtVuo=; b=G8ClF3V55wlIsHIgSJZFvmk+1563D+iUJWCajGNiFCygukHSiBHL3nqEXtRS8YzLHD RUrYVjpNda/x9KsKrSVtmrWc4/2Y2H08ctNt1nfTH6ZDlM8regZHyqgpolas0NJF6o2n QKKeYpjLHqpI9S635SL/3puoZ7AmvLqFxmDlNL9AAiVVlJ6EtQpzVGnA6h9mVvVXAaX2 YzgB2tIlDKmyjvE8wz+a2eHCsAThElY+8Ym386hrdrLi7687eZMyTQ1i1QyItvh892Al aIxXDZdpd2HIuurkKK5+joQCSvhrLFXP10lVCPT7gG7pMB2sP1B00ecU8P6GFeCBQ2OF 4YDw== X-Gm-Message-State: AA+aEWbqLUjgkKM/chONuSO+8x9P+tU+n9ifqBJmGp8kOME/MVKckm6r 7JKpAvd48X4yJKrkcT1BEeQ9IgoI X-Google-Smtp-Source: AFSGD/V1mknNDvCTRK2XNF3OGR98ndNmHsIiV+hbVJmJYi8ugUErZcrBme1Hzo6F5cS4W34WZUhNEQ== X-Received: by 2002:adf:9061:: with SMTP id h88mr17069701wrh.65.1545203288980; Tue, 18 Dec 2018 23:08:08 -0800 (PST) Received: from flagship2.speedport.ip (p200300C20BD333581B9ECEB655B1C7D2.dip0.t-ipconnect.de. [2003:c2:bd3:3358:1b9e:ceb6:55b1:c7d2]) by smtp.gmail.com with ESMTPSA id s16sm3245724wrt.77.2018.12.18.23.08.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 23:08:08 -0800 (PST) From: Manuel Lauss To: Linux-MIPS Cc: Manuel Lauss Subject: [PATCH 5/5] MIPS: Alchemy: update dma masks for devboard devices Date: Wed, 19 Dec 2018 08:08:03 +0100 Message-Id: <20181219070803.449981-6-manuel.lauss@gmail.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181219070803.449981-1-manuel.lauss@gmail.com> References: <20181219070803.449981-1-manuel.lauss@gmail.com> MIME-Version: 1.0 Sender: linux-mips-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the DMA masks for sound and mmc devices. Verified on DB1300 and DB1500. Signed-off-by: Manuel Lauss --- arch/mips/alchemy/devboards/db1000.c | 18 +++++++++++------- arch/mips/alchemy/devboards/db1200.c | 24 +++++++++++------------- arch/mips/alchemy/devboards/db1300.c | 23 +++++++++++++++++++---- arch/mips/alchemy/devboards/db1550.c | 13 +++++++++++-- 4 files changed, 52 insertions(+), 26 deletions(-) diff --git a/arch/mips/alchemy/devboards/db1000.c b/arch/mips/alchemy/devboards/db1000.c index aab842a8ddf3..7f99592cf56b 100644 --- a/arch/mips/alchemy/devboards/db1000.c +++ b/arch/mips/alchemy/devboards/db1000.c @@ -82,6 +82,8 @@ static int db1500_map_pci_irq(const struct pci_dev *d, u8 slot, u8 pin) return -1; } +static u64 au1xxx_all_dmamask = DMA_BIT_MASK(32); + static struct resource alchemy_pci_host_res[] = { [0] = { .start = AU1500_PCI_PHYS_ADDR, @@ -120,13 +122,11 @@ static struct resource au1100_lcd_resources[] = { } }; -static u64 au1100_lcd_dmamask = DMA_BIT_MASK(32); - static struct platform_device au1100_lcd_device = { .name = "au1100-lcd", .id = 0, .dev = { - .dma_mask = &au1100_lcd_dmamask, + .dma_mask = &au1xxx_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), }, .num_resources = ARRAY_SIZE(au1100_lcd_resources), @@ -170,6 +170,10 @@ static struct platform_device db1x00_codec_dev = { static struct platform_device db1x00_audio_dev = { .name = "db1000-audio", + .dev = { + .dma_mask = &au1xxx_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; /******************************************************************************/ @@ -338,13 +342,11 @@ static struct resource au1100_mmc0_resources[] = { } }; -static u64 au1xxx_mmc_dmamask = DMA_BIT_MASK(32); - static struct platform_device db1100_mmc0_dev = { .name = "au1xxx-mmc", .id = 0, .dev = { - .dma_mask = &au1xxx_mmc_dmamask, + .dma_mask = &au1xxx_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1100_mmc_platdata[0], }, @@ -379,7 +381,7 @@ static struct platform_device db1100_mmc1_dev = { .name = "au1xxx-mmc", .id = 1, .dev = { - .dma_mask = &au1xxx_mmc_dmamask, + .dma_mask = &au1xxx_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1100_mmc_platdata[1], }, @@ -416,6 +418,8 @@ static struct platform_device db1100_spi_dev = { .id = 0, .dev = { .platform_data = &db1100_spictl_pd, + .dma_mask = &au1xxx_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), }, }; diff --git a/arch/mips/alchemy/devboards/db1200.c b/arch/mips/alchemy/devboards/db1200.c index 4bf02f96ab7f..fb11c578e178 100644 --- a/arch/mips/alchemy/devboards/db1200.c +++ b/arch/mips/alchemy/devboards/db1200.c @@ -153,6 +153,8 @@ int __init db1200_board_setup(void) /******************************************************************************/ +static u64 au1200_all_dmamask = DMA_BIT_MASK(32); + static struct mtd_partition db1200_spiflash_parts[] = { { .name = "spi_flash", @@ -324,13 +326,11 @@ static struct resource db1200_ide_res[] = { }, }; -static u64 au1200_ide_dmamask = DMA_BIT_MASK(32); - static struct platform_device db1200_ide_dev = { .name = "pata_platform", .id = 0, .dev = { - .dma_mask = &au1200_ide_dmamask, + .dma_mask = &au1200_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1200_ide_info, }, @@ -566,13 +566,11 @@ static struct resource au1200_mmc0_resources[] = { } }; -static u64 au1xxx_mmc_dmamask = DMA_BIT_MASK(32); - static struct platform_device db1200_mmc0_dev = { .name = "au1xxx-mmc", .id = 0, .dev = { - .dma_mask = &au1xxx_mmc_dmamask, + .dma_mask = &au1200_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1200_mmc_platdata[0], }, @@ -607,7 +605,7 @@ static struct platform_device pb1200_mmc1_dev = { .name = "au1xxx-mmc", .id = 1, .dev = { - .dma_mask = &au1xxx_mmc_dmamask, + .dma_mask = &au1200_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1200_mmc_platdata[1], }, @@ -657,13 +655,11 @@ static struct resource au1200_lcd_res[] = { } }; -static u64 au1200_lcd_dmamask = DMA_BIT_MASK(32); - static struct platform_device au1200_lcd_dev = { .name = "au1200-lcd", .id = 0, .dev = { - .dma_mask = &au1200_lcd_dmamask, + .dma_mask = &au1200_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1200fb_pd, }, @@ -717,11 +713,9 @@ static struct au1550_spi_info db1200_spi_platdata = { .activate_cs = db1200_spi_cs_en, }; -static u64 spi_dmamask = DMA_BIT_MASK(32); - static struct platform_device db1200_spi_dev = { .dev = { - .dma_mask = &spi_dmamask, + .dma_mask = &au1200_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1200_spi_platdata, }, @@ -766,6 +760,10 @@ static struct platform_device db1200_audio_dev = { static struct platform_device db1200_sound_dev = { /* name assigned later based on switch setting */ .id = 1, /* PSC ID */ + .dev = { + .dma_mask = &au1200_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; static struct platform_device db1200_stac_dev = { diff --git a/arch/mips/alchemy/devboards/db1300.c b/arch/mips/alchemy/devboards/db1300.c index ad7dd8e89598..8ac1f56ee57d 100644 --- a/arch/mips/alchemy/devboards/db1300.c +++ b/arch/mips/alchemy/devboards/db1300.c @@ -148,6 +148,8 @@ static void __init db1300_gpio_config(void) /**********************************************************************/ +static u64 au1300_all_dmamask = DMA_BIT_MASK(32); + static void au1300_nand_cmd_ctrl(struct nand_chip *this, int cmd, unsigned int ctrl) { @@ -438,6 +440,8 @@ static struct resource db1300_ide_res[] = { static struct platform_device db1300_ide_dev = { .dev = { + .dma_mask = &au1300_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1300_ide_info, }, .name = "pata_platform", @@ -560,7 +564,9 @@ static struct resource au1300_sd1_res[] = { static struct platform_device db1300_sd1_dev = { .dev = { - .platform_data = &db1300_sd1_platdata, + .dma_mask = &au1300_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + .platform_data = &db1300_sd1_platdata, }, .name = "au1xxx-mmc", .id = 1, @@ -625,7 +631,9 @@ static struct resource au1300_sd0_res[] = { static struct platform_device db1300_sd0_dev = { .dev = { - .platform_data = &db1300_sd0_platdata, + .dma_mask = &au1300_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + .platform_data = &db1300_sd0_platdata, }, .name = "au1xxx-mmc", .id = 0, @@ -652,10 +660,18 @@ static struct platform_device db1300_i2sdma_dev = { static struct platform_device db1300_sndac97_dev = { .name = "db1300-ac97", + .dev = { + .dma_mask = &au1300_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; static struct platform_device db1300_sndi2s_dev = { .name = "db1300-i2s", + .dev = { + .dma_mask = &au1300_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; /**********************************************************************/ @@ -700,13 +716,12 @@ static struct resource au1300_lcd_res[] = { } }; -static u64 au1300_lcd_dmamask = DMA_BIT_MASK(32); static struct platform_device db1300_lcd_dev = { .name = "au1200-lcd", .id = 0, .dev = { - .dma_mask = &au1300_lcd_dmamask, + .dma_mask = &au1300_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1300fb_pd, }, diff --git a/arch/mips/alchemy/devboards/db1550.c b/arch/mips/alchemy/devboards/db1550.c index 7700ad0b93b4..3e0c75c0ece0 100644 --- a/arch/mips/alchemy/devboards/db1550.c +++ b/arch/mips/alchemy/devboards/db1550.c @@ -82,6 +82,8 @@ int __init db1550_board_setup(void) /*****************************************************************************/ +static u64 au1550_all_dmamask = DMA_BIT_MASK(32); + static struct mtd_partition db1550_spiflash_parts[] = { { .name = "spi_flash", @@ -269,11 +271,10 @@ static struct au1550_spi_info db1550_spi_platdata = { .activate_cs = db1550_spi_cs_en, }; -static u64 spi_dmamask = DMA_BIT_MASK(32); static struct platform_device db1550_spi_dev = { .dev = { - .dma_mask = &spi_dmamask, + .dma_mask = &au1550_all_dmamask, .coherent_dma_mask = DMA_BIT_MASK(32), .platform_data = &db1550_spi_platdata, }, @@ -397,10 +398,18 @@ static struct platform_device db1550_i2sdma_dev = { static struct platform_device db1550_sndac97_dev = { .name = "db1550-ac97", + .dev = { + .dma_mask = &au1550_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; static struct platform_device db1550_sndi2s_dev = { .name = "db1550-i2s", + .dev = { + .dma_mask = &au1550_all_dmamask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, }; /**********************************************************************/