Received: by 10.223.176.46 with SMTP id f43csp2466851wra; Thu, 25 Jan 2018 10:15:20 -0800 (PST) X-Google-Smtp-Source: AH8x225HGfq9c94PRCJG1ySywyF5T/ldvoi74x2fcqNwmKrhpptmUe9g8YROPo6fdjJ7gKwbjGMw X-Received: by 2002:a17:902:2cc3:: with SMTP id n61-v6mr11876179plb.440.1516904120289; Thu, 25 Jan 2018 10:15:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516904120; cv=none; d=google.com; s=arc-20160816; b=hbzdt4oMUCmp7DipmQ5Ef1wbPOeWzrdWg7RlPOK095JM9Os62tFb8t5GYn/v0Jwjoy QO+/X8d1T9VXPhLldOAUBHywE+6oewLuFgm1/WPD2ltUifxCQU3rCtJS1NLMII5Bcf9a NmhCPASsbBTClASF0S0zgXNt3CG/ulTIxazD4Ko66Xv8ibybQXzKiSQ7ArouruJILvOK U1J0NTf5KczWtMbMQm9AIZGtSCfwytFuUGW9J0IIVGKgoa7K3hbhlqsNLl1ixJAKpOOl 51KTQh5uR1+A/GZUyiSHDVJKcyH9suTxffriXFwok8ww8cbGCFYg7BntCDYehLcwnoei n/iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=C3nQKX85duGoGejEdmJZZDIEjsNGqFsR0TS07dXqrhU=; b=MGDYXcq4X08YqV4PYQJVUoxmz06USHzC/sqGAZWMpidmZ8eNbVBJ6VWdSsgGLszMdj /yXOxb7I1K//PfPjJbtLLNc/hDtMs+3ZZ+NJg/TAflPGfcw62Y1OC6q7Gt6F8mL9Jjkf WlB5tx+ySa58hyLhQIxjKrW8/li+cgm2ZcedFDhICVUaoWhF7LYcNl+s86DBfpjlzrQl nV/X+t5ffiKiNAlsbkhrUe5eCHsEV3cryh87Vdj0kwUwmaL7RxPm/eMmQ4p9H60o8DZM c/V5dX/H7YKDIgac8D6xwBdSqBlhiolrQ1wuG9LyLWJGY4OUzgVdLLYR3U9Wt+8luwM8 jLLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZJGvh0zu; dkim=pass header.i=@codeaurora.org header.s=default header.b=IXMOYDTp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 124si1848452pgb.284.2018.01.25.10.15.05; Thu, 25 Jan 2018 10:15:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZJGvh0zu; dkim=pass header.i=@codeaurora.org header.s=default header.b=IXMOYDTp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751324AbeAYSOj (ORCPT + 99 others); Thu, 25 Jan 2018 13:14:39 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:48298 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbeAYSOh (ORCPT ); Thu, 25 Jan 2018 13:14:37 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7BD9060452; Thu, 25 Jan 2018 18:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516904077; bh=teeAkj9J3/WDUwcHKCNurmy7sudAFD74kxrkDatwK88=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZJGvh0zuTs6OnwHXvcxLI0JX+eD53aZkZQJt4bWFcx15qVgd0IF8j5N8TEFKYtfEb 7qL44ChqVrDDPEuJTwAVmib1tpuofvMDHnFRjkTsfGwwewspo6THxSqZbPBu46j9Ys 3tIguHQdQnY7PP6JBs0dC/qU2CicvouYEXFTAlXI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A2F7F60271; Thu, 25 Jan 2018 18:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516904076; bh=teeAkj9J3/WDUwcHKCNurmy7sudAFD74kxrkDatwK88=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IXMOYDTpHIttS0kAehVcH0imVc+SNGpx9tFqIFqaqY6uuLfVmuqohYUvP/3K/MTpi 5JoHpfAVUy68qcaFxRd9uNlkPpLYtmrgIAm3jFF7OwwO0RX2Jbz8CWv+a6L7eAxt63 +KgVvHWcii9+NcLL8q/7KfS1YLk55ssj52chSBhI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A2F7F60271 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ilina@codeaurora.org Date: Thu, 25 Jan 2018 18:14:36 +0000 From: Lina Iyer To: Marc Zyngier Cc: tglx@linutronix.de, jason@lakedaemon.net, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, sboyd@codeaurora.org, rnayak@codeaurora.org, asathyak@codeaurora.org Subject: Re: [PATCH RFC 4/4] drivers: irqchip: qcom: add pin information for SDM845 Message-ID: <20180125181436.GB12603@codeaurora.org> References: <20180123175656.11942-1-ilina@codeaurora.org> <20180123175656.11942-5-ilina@codeaurora.org> <2c96f5ec-3e7c-ca04-f265-c4fdc8475db2@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <2c96f5ec-3e7c-ca04-f265-c4fdc8475db2@arm.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24 2018 at 14:20 +0000, Marc Zyngier wrote: >On 23/01/18 17:56, Lina Iyer wrote: >> From: Archana Sathyakumar >> >> +#include "qcom-pdc.h" >> + >> +const struct pdc_pin sdm845_data[] = { >> + {0, 512}, /* rpmh_wake */ >> + {1, 513}, /* ee0_apps_hlos_spmi_periph_irq */ >> + {2, 514}, /* ee1_apps_trustzone_spmi_periph_irq */ >> + {3, 515}, /* secure_wdog_expired */ >> + {4, 516}, /* secure_wdog_bark_irq */ >> + {5, 517}, /* aop_wdog_expired_irq */ >> + {6, 518}, /* qmp_usb3_lfps_rxterm_irq */ > >[...] > >Nice try, but no. This is DT material. Please use the pin number in your >DT, which the driver uses as a hwirq. When it comes to mapping it to the >corresponding GIC SPI, use a per-soc helper that comes from DT too (you >seem to only have two ranges here, so that's pretty easy to do). > Thanks Marc. I will look into this approach. -- Lina