From patchwork Mon Jan 21 07:38:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10772709 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 835A913B4 for ; Mon, 21 Jan 2019 07:39:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7186C29C99 for ; Mon, 21 Jan 2019 07:39:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65D3129CA0; Mon, 21 Jan 2019 07:39:54 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1431F29C99 for ; Mon, 21 Jan 2019 07:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oFojoqRGaDSMn9jtdh5TakTJ92R4gnkoTdSJ56+GKKs=; b=tTP40kmHXfPKchyiji9hnqpqA4 fBsw9lgSRf+itQuNP8/R7ZTlrNUGSduGI+gZcKEAcQSeB53DIrr04LLOr/P0ws5N0Ts2BsW7zpxZJ 7KKpbAarzAWoLvin9ym+v6+GFYSEUyrC4ayRzaxom+wHm9NZpYLWQB5UWI9i7npmn+fn7Xp18RLVR a4BzfGCChtLsqgoKbuzhMOkfVEYpd7QcDVPHiFugs83SB3h4kTTn3c6L7YhHb0uZEwvH2KtCBWJ1K B1pzh87KLWSk50nhQhGXxOfsSkUEFXFMsR4YuCuDKHteWyUBvmZjl1qa5NT12+Qt6RuGZEKILoRHe Lw0cx+Lw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1glUBT-00010o-As; Mon, 21 Jan 2019 07:39:51 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1glUB7-0000eX-5k for linux-arm-kernel@lists.infradead.org; Mon, 21 Jan 2019 07:39:33 +0000 Received: by mail-pl1-x641.google.com with SMTP id w4so9409583plz.1 for ; Sun, 20 Jan 2019 23:39:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=5wfuddSW6tp5kYw+zApWLVum/WpZ+TiS9aNH3MKdYzo=; b=TBJVsmq9SwsUa5AhC2yO9XS+8Y2Gb8Kr8LjezLadJmuXsgGfusLZJVottgxoApjWA1 NUBiI3D9z/5C9zLI24XFGOP7gg7sBHd+O6mUScFWUjqS0CaZUep5sD79sl0uH7ydjhB+ HaXic/wvGDMxjQi4MwJa6LzT29QvfIxs6yf/4= 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:in-reply-to:references; bh=5wfuddSW6tp5kYw+zApWLVum/WpZ+TiS9aNH3MKdYzo=; b=A2RTm7u0ivlU42ufVvHsSC+vmK2mVY7SjMOCKydiJ3ql1K9EzPyPf3pCT0RpzE5iA8 YDTsm9omDQPE27mTVF6lBz6Gu6Hvwdj6DZCxy9gbGJfAacQjQiRT3adLcrTDKMLjvUQv ErWCLP19k+IjzuqeW5NbvkCNoqHtjktRGoV1vl1TjvOHsWBKyLy1Gju+c6xIaYWozBXS 2MJ81RwViudTxZUKl1ezurVNiHV+7uKG4YjqOUs0ruX5e8nvc7wSwHSb34UstYvcmYmx qDgGGiYimUNYE6SiXBTtjmkZPy5DU6NUyO7w0V9OBMSv7Vx9dP+PvflOiySG4vDqC+xS EeOg== X-Gm-Message-State: AJcUukfE0D8pXItU6qE1DVcO+YodMYARRMFzk7+l1cQVLBDQaugY3oE3 F0e0RKtokULbcsK6q/Ewh++3LA== X-Google-Smtp-Source: ALg8bN4b+zcG8uMM54HVPij1o+1kGsedHZcVQYga9e1/iukaWsgMw+36iYZJ6Tg0h0ZeRIOKfy2lKQ== X-Received: by 2002:a17:902:b090:: with SMTP id p16mr29147808plr.190.1548056368629; Sun, 20 Jan 2019 23:39:28 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id h19sm15583083pfn.114.2019.01.20.23.39.24 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Jan 2019 23:39:27 -0800 (PST) From: Baolin Wang To: robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, olof@lixom.net, orsonzhai@gmail.com, zhang.lyra@gmail.com Subject: [PATCH 1/4] arm64: dts: sprd: Remove PMIC INTC irq trigger type Date: Mon, 21 Jan 2019 15:38:28 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190120_233929_506762_BF674931 X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, arm@kernel.org, baolin.wang@linaro.org, linux-kernel@vger.kernel.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Spreadtrum PMIC INTC controller has no registers to set trigger type, since it is always high level trigger as default. So remove its child devices' irq trigger type setting and change #interrupt-cells to 1. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/sc2731.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/sc2731.dtsi b/arch/arm64/boot/dts/sprd/sc2731.dtsi index 82bd642..f2f2aa5 100644 --- a/arch/arm64/boot/dts/sprd/sc2731.dtsi +++ b/arch/arm64/boot/dts/sprd/sc2731.dtsi @@ -13,7 +13,7 @@ spi-max-frequency = <26000000>; interrupts = ; interrupt-controller; - #interrupt-cells = <2>; + #interrupt-cells = <1>; #address-cells = <1>; #size-cells = <0>; @@ -43,14 +43,14 @@ compatible = "sprd,sc27xx-rtc", "sprd,sc2731-rtc"; reg = <0x280>; interrupt-parent = <&sc2731_pmic>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <2>; }; pmic_eic: gpio@300 { compatible = "sprd,sc27xx-eic"; reg = <0x300>; interrupt-parent = <&sc2731_pmic>; - interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <5>; gpio-controller; #gpio-cells = <2>; interrupt-controller; @@ -69,7 +69,7 @@ compatible = "sprd,sc27xx-adc", "sprd,sc2731-adc"; reg = <0x480>; interrupt-parent = <&sc2731_pmic>; - interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <0>; #io-channel-cells = <1>; hwlocks = <&hwlock 4>; };