{"id":222,"url":"http://patchwork.ozlabs.org/api/1.0/patches/222/?format=json","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.0/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"},"msgid":"<1220985663-17990-1-git-send-email-timur@freescale.com>","date":"2008-09-09T18:41:03","name":"powerpc: fix interrupt values for DMA2 in MPC8610 HPCD device tree","commit_ref":"612f9d338a6060f814ef35b7108b43407a5df423","pull_url":null,"state":"accepted","archived":true,"hash":"7b4ac0d5fa9d11170ef00d133ec490c1edcebe83","submitter":{"id":124,"url":"http://patchwork.ozlabs.org/api/1.0/people/124/?format=json","name":"Timur Tabi","email":"timur@freescale.com"},"delegate":{"id":9,"url":"http://patchwork.ozlabs.org/api/1.0/users/9/?format=json","username":"galak","first_name":"Kumar","last_name":"Gala","email":"galak@kernel.crashing.org"},"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1220985663-17990-1-git-send-email-timur@freescale.com/mbox/","series":[],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/222/checks/","tags":{},"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org>","X-Original-To":["patchwork@ozlabs.org","linuxppc-dev@ozlabs.org"],"Delivered-To":["patchwork@ozlabs.org","linuxppc-dev@ozlabs.org"],"Received":["from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 56DCEDE556\n\tfor <patchwork@ozlabs.org>; Wed, 10 Sep 2008 04:42:29 +1000 (EST)","from de01egw01.freescale.net (de01egw01.freescale.net\n\t[192.88.165.102])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id B88F4DE029\n\tfor <linuxppc-dev@ozlabs.org>; Wed, 10 Sep 2008 04:41:12 +1000 (EST)","from de01smr01.freescale.net (de01smr01.freescale.net\n\t[10.208.0.31])\n\tby de01egw01.freescale.net (8.12.11/az33egw01) with ESMTP id\n\tm89If4tp029337; Tue, 9 Sep 2008 11:41:05 -0700 (MST)","from localhost.localdomain (ld0169-tx32.am.freescale.net\n\t[10.82.19.119])\n\tby de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id\n\tm89If3lF012529; Tue, 9 Sep 2008 13:41:03 -0500 (CDT)"],"From":"Timur Tabi <timur@freescale.com>","To":"galak@kernel.crashing.org, linuxppc-dev@ozlabs.org","Subject":"[PATCH] powerpc: fix interrupt values for DMA2 in MPC8610 HPCD\n\tdevice tree","Date":"Tue,  9 Sep 2008 13:41:03 -0500","Message-Id":"<1220985663-17990-1-git-send-email-timur@freescale.com>","X-Mailer":"git-send-email 1.5.5","X-BeenThere":"linuxppc-dev@ozlabs.org","X-Mailman-Version":"2.1.11","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>","List-Unsubscribe":"<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>","List-Archive":"<http://ozlabs.org/pipermail/linuxppc-dev>","List-Post":"<mailto:linuxppc-dev@ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@ozlabs.org?subject=help>","List-Subscribe":"<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org","Errors-To":"linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org"},"content":"The interrupt values in a device tree must be 16 greater than the actual\ninterrupt number for a given device.  The interrupt property for the DMA\nchannels for DMA2 in the MPC8610 HPCD device tree was using the raw values,\nnot the adjusted ones.\n\nSigned-off-by: Timur Tabi <timur@freescale.com>","diff":"diff --git a/arch/powerpc/boot/dts/mpc8610_hpcd.dts b/arch/powerpc/boot/dts/mpc8610_hpcd.dts\nindex 3b3a106..584a4f1 100644\n--- a/arch/powerpc/boot/dts/mpc8610_hpcd.dts\n+++ b/arch/powerpc/boot/dts/mpc8610_hpcd.dts\n@@ -281,7 +281,7 @@\n \t\t\t\tcell-index = <0>;\n \t\t\t\treg = <0x0 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <60 2>;\n+\t\t\t\tinterrupts = <76 2>;\n \t\t\t};\n \t\t\tdma-channel@1 {\n \t\t\t\tcompatible = \"fsl,mpc8610-dma-channel\",\n@@ -289,7 +289,7 @@\n \t\t\t\tcell-index = <1>;\n \t\t\t\treg = <0x80 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <61 2>;\n+\t\t\t\tinterrupts = <77 2>;\n \t\t\t};\n \t\t\tdma-channel@2 {\n \t\t\t\tcompatible = \"fsl,mpc8610-dma-channel\",\n@@ -297,7 +297,7 @@\n \t\t\t\tcell-index = <2>;\n \t\t\t\treg = <0x100 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <62 2>;\n+\t\t\t\tinterrupts = <78 2>;\n \t\t\t};\n \t\t\tdma-channel@3 {\n \t\t\t\tcompatible = \"fsl,mpc8610-dma-channel\",\n@@ -305,7 +305,7 @@\n \t\t\t\tcell-index = <3>;\n \t\t\t\treg = <0x180 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <63 2>;\n+\t\t\t\tinterrupts = <79 2>;\n \t\t\t};\n \t\t};\n \n","prefixes":[]}