From patchwork Fri Oct 8 01:25:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515528 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675107ime; Thu, 7 Oct 2021 18:25:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUsI6Iy8USqMNyq+468EJcd7qC4MsXvPOLaya8/hKJ4/YBa+8zqFOQbW6yivrG8rFTuyB6 X-Received: by 2002:a17:90b:890:: with SMTP id bj16mr9043502pjb.143.1633656335435; Thu, 07 Oct 2021 18:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656335; cv=none; d=google.com; s=arc-20160816; b=j55D2B2kWq2OIPtVS+mzlPyrMl8P2UoC1piHQUdmjT9ti/8gAviMPrwoxKPojqTqJu NToTtB6HBYuETymy6QalRINJ0MRlfD2sowY+z29d6DIYCJezCDn8c9qcvq+ojnLaBlV/ 0Csat3IKMCH19tJWcW1lz3ERVmOsSAE7pJ6y+d9uY83CiXoPTkIWrLoiPR2x6wvyd3xE izkXFRKKPyrmeYP99fuywfqBDGzf4B/4Imi/D/Zb80Wcn8G9p1k+D32UQ2qQbFy1st2Y 1ZFrxIbi8r3ASMqjvOeBR4lPm0HYtBsPekqPzoGrwzyR9TyCeEIEgYzXCayq6ijrYBah QvGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XPJhiyssMgP/Qx7CEDMKniXc51YWsJz5iKb0grR309U=; b=ZYszjQ3MSybUNtt+JiVsEhW2QiBTvI09dLc4V5000RrmyJrlswto5ZkzPbVzpoQTSK qbOvsfhvfMJXwOW83T6pUxEFnYeCpLmLFnG/f56UT7ktwrj/hdXy6jUn82EwpjEhZhEN PSly779CdgzefnFfR/ZwBvUohhQzeStHUFGMoNc/93tR5ehzB2L88g8lRe4c0PjzlT0p x2vGfyxrYKOlNL5PmwD0OrSjtbPr2Vs3WmWGJk3RavN1Qmk6Pf6WgxAeyr2WRPpC5c4l rraQbH3Je/vfbLzGkgyxDG8FLggik4MsWGOFpAXylGLIYmXn2jAYhpGxOGYSNoYo8Fv1 Tu8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zHkhIrBZ; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1158223pgq.411.2021.10.07.18.25.35; Thu, 07 Oct 2021 18:25:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zHkhIrBZ; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237003AbhJHB11 (ORCPT + 3 others); Thu, 7 Oct 2021 21:27:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235847AbhJHB10 (ORCPT ); Thu, 7 Oct 2021 21:27:26 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD02C061755 for ; Thu, 7 Oct 2021 18:25:31 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id j21so14483863lfe.0 for ; Thu, 07 Oct 2021 18:25:31 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=XPJhiyssMgP/Qx7CEDMKniXc51YWsJz5iKb0grR309U=; b=zHkhIrBZsf97wg1GpfqsWTxEcnvewzjvW1ZvTbuX+11eHJpHmbkPgUgxjeIW0Ra5DJ AE6w3pHGdyNVCPo2ikh5V0TVJoftg0TRxJ4M7R5ALH/qmwjP01dN7YbTBDqOnA5CKjrh eyNQd/sh3/8WLyLjHA0zS1R/29dst3pdBHtMQhskY4ZC3lQn3BKtikTWEe625wkWe9eO 4ybVmizrPyFMTKzmghiTACVfYBChfezA8kOg9yRxKQYjRDDWahzLr0ahzalkXMFlGhKv 4sxasp4UvZOoIULwV0DjTVxPxTtkPQNpV2gBr3XuiVzoI3/hoqTMaGsswkSvP1qxPdtw X77w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XPJhiyssMgP/Qx7CEDMKniXc51YWsJz5iKb0grR309U=; b=lnAuUmcZxpsbLYlE9smIy31iX0kc1H9DF315nxbo9VRpr33FomAmcWZzCQuAURpp17 tHalov9PycDqSLmwD/liDgYxCXd/rGT+nECg8guej+WR3q1FwUHHI8ifYtc20xCFgmdN 088OSlzVvTac+wG1MiYhZu08nJ5aipzpL4/vB6McED28TAiX43pRRRIFPXTMBkID1btD qbNZfNArRKZgBOAW6XqRLtfjn7W8b4LVX2pySzcZc0VVG7wOz+O/KsfHMwEU8lqOOKfX b4ka4ddT8NiYu+U7YnnSk10p5X0/JgGONqY5nGHZDDHw6HKg2qh27XbfSuqjF1A+4hrc S0Mg== X-Gm-Message-State: AOAM53056tsrB90krEbY24B9LuODqGb4QrRW+KMCdwWx2duerBhNCdt5 Cm+7sF9OrNDISTT/hABaeYjQUQ== X-Received: by 2002:a05:651c:1793:: with SMTP id bn19mr307276ljb.475.1633656330207; Thu, 07 Oct 2021 18:25:30 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:29 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 03/25] ARM: dts: qcom-apq8064: add gpio-ranges to mpps nodes Date: Fri, 8 Oct 2021 04:25:02 +0300 Message-Id: <20211008012524.481877-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> References: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add gpio-ranges property to mpps device tree nodes, adding the mapping between pinctrl and GPIO pins. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.30.2 diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 0b2bed6e7adf..cbc9be8a69cd 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -689,6 +689,7 @@ pm8821_mpps: mpps@50 { <27 IRQ_TYPE_NONE>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8821_mpps 0 0 4>; }; }; }; @@ -726,6 +727,7 @@ pm8921_mpps: mpps@50 { reg = <0x50>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8921_mpps 0 0 12>; interrupts = <128 IRQ_TYPE_NONE>, <129 IRQ_TYPE_NONE>, From patchwork Fri Oct 8 01:25:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515529 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675120ime; Thu, 7 Oct 2021 18:25:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL9Alq56YF7Ko8lJiAZ6n5VEqQlwd3pFhsKSiTJzrTubt3TUhFnliq41a4pLEvfiM0f4zj X-Received: by 2002:a63:4344:: with SMTP id q65mr2408652pga.450.1633656336565; Thu, 07 Oct 2021 18:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656336; cv=none; d=google.com; s=arc-20160816; b=NEJl+mDJAAVjbto2T0khmqOvtv98GiUru9EAh4D9DIN/51lrtLEwi2eyu4HsEVuQdG COx3wumvEpLlpZSSW7pjGWvWQdbGULlvtOLIED0shGp9Uty/o13U6PCIqugmL7wHaNKq 9LQSF/F53SkVBpZ8S3ZeRrVCRJHvQty3qTvXuMwQCVURvkGFF+6QbTW7yBrd+43Nc6hY sm1qtnmdypEniWlQYEBfeEQ3rCS0Bb5CeaV8LdUPAn3IwDQQWdTgqd3wAP+a5UCs1saS b5DDYMBtAKliK3Gm+7CHigwmA7mqF5dShvnqypkQdowi7VPOegiHy9lwu75cn3wsWlWs AVSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=clR0pd2rxG7rsbJsSmT96iRGAfExlfxhlmBSBtDpU+E=; b=dD2SqUeYtuNoR+z0/rsN0YqLaGcpxitDAi68FFzBDe2iDf/dSe5fonMs+Y61AxRczk Gi6dYLpl4VIZQC768vzFMce9I531im/49D+Kuep3Z31C7jKDcuDAQnrr/VtuMTrwU7b/ YObRbc9r98NlC+5/+n2d17VEE4LMGi56y2Uj6nHENdrMngTCPH7vj+OJEVHASwM+Wjl1 fUsKEtEg9qNCBjiMM7vOo2LJs3q5eDZ9Y9vSqlG+MzaC6MNBUEDhcOXlU+74+eoxFJHC FpxZG+nllhbO/4RwLcyhlh4Ixo2vsjmu/JXmXnKL7n/bqL0Sq6tvK0WPQOM06LGoK2wL jMuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cHPcGJug; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1158223pgq.411.2021.10.07.18.25.36; Thu, 07 Oct 2021 18:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cHPcGJug; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237130AbhJHB12 (ORCPT + 3 others); Thu, 7 Oct 2021 21:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236131AbhJHB11 (ORCPT ); Thu, 7 Oct 2021 21:27:27 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B08AC061760 for ; Thu, 7 Oct 2021 18:25:32 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id m3so32595430lfu.2 for ; Thu, 07 Oct 2021 18:25:32 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=clR0pd2rxG7rsbJsSmT96iRGAfExlfxhlmBSBtDpU+E=; b=cHPcGJugcIEIj7qiruq9EapjU3rzcxhYWG1TXzY5AkX8rE7pjc7vDrHq0+jrce34xn eJiQmKEInBCpIn/R3g4ex0+cBPs5zxxe8FnMcJtdGIKigtycCx0ei6anMchp7kmh6xXM I/t21gX/nAOd1+S8796p1iD6LcTI+3hPYIgJ1nqpU6dg+YLqTfG8KZOyMEvTq5P5ad/8 a0sfRvenRwiQ5BZKKX4KTq8h22WuEt+SMxu+XZNoyTpariS2cuP4pHyXO6NElm32gnEp j4FlqLgczmxO9iIIh+jB3w008Y0qTBH6u3S2YIfGZSsZIShvEytAAyRZ617WTKx40x6J tyog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=clR0pd2rxG7rsbJsSmT96iRGAfExlfxhlmBSBtDpU+E=; b=N9QUa/Z3CDqLmFS+bN4XN5lKC8fBCx/Pd9ilEaBJNzgfUFD5c8e1wMkzmsKmI8AuJu /9CXgctxwc7tNTre/BsC7wFpPv2LwCtGaHh5CgrHyvJ3CSRo4N9C5V8dHY3pLWRU9QBD BdT7p0w6HD6onw8iPUwqz7FcmIoea0VDUnKm+4qETuzWStayGIqHjr0pdnpsGjZOxVi1 67Q/Uci/0n38gcEdfRoJm0Z3iSXmaiOpwOP6zl6A5fRGFWP2wYr42S64DECRlZCWQCas yRQDOl3QP0bJeuRRL9GM03nq1cIURmFCUiYfag/r1+85Qcz73sUzsA75T3uV9tt5Gq8A 6C3w== X-Gm-Message-State: AOAM530Q09TA04g7G3Qthrq8VVP+Z/EXJlHshaR5J0och79aUJ5IY3LP c6+J8i7w0f+OB2N5SPnNa9UFKQ== X-Received: by 2002:a2e:550:: with SMTP id 77mr377760ljf.478.1633656330786; Thu, 07 Oct 2021 18:25:30 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:30 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 04/25] ARM: dts: qcom-msm8660: add gpio-ranges to mpps nodes Date: Fri, 8 Oct 2021 04:25:03 +0300 Message-Id: <20211008012524.481877-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> References: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Add gpio-ranges property to mpps device tree nodes, adding the mapping between pinctrl and GPIO pins. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-msm8660.dtsi | 1 + 1 file changed, 1 insertion(+) -- 2.30.2 diff --git a/arch/arm/boot/dts/qcom-msm8660.dtsi b/arch/arm/boot/dts/qcom-msm8660.dtsi index 480fc08cbe8e..d404d386d392 100644 --- a/arch/arm/boot/dts/qcom-msm8660.dtsi +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi @@ -307,6 +307,7 @@ pm8058_mpps: mpps@50 { reg = <0x50>; gpio-controller; #gpio-cells = <2>; + gpio-ranges = <&pm8058_mpps 0 0 12>; interrupt-parent = <&pm8058>; interrupts = <128 IRQ_TYPE_NONE>, From patchwork Fri Oct 8 01:25:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515541 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675321ime; Thu, 7 Oct 2021 18:25:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaPcE960NzW+TeS5y32TcfFfUruaWjMLlOSlixgmXa+x8P9ThUKP+NwJBXbgmodP7wvI53 X-Received: by 2002:a17:90a:9406:: with SMTP id r6mr4263988pjo.206.1633656354170; Thu, 07 Oct 2021 18:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656354; cv=none; d=google.com; s=arc-20160816; b=QOHEUeRB1ESEV9MarU9zIH+BCredVyKiru4L8RcLPUGyXmbZa3pVIepf7e1RSKF7pW +GVfOqLz4I4Cycl2PMQTJnPFBuBkfFRWrOQxiX1kpv9AqNYzLgh8ee4rarz4lmtHL8iy PEvEymt8OWVVs8eVxY9WIzZ75RhilosKnFtsjlIYLCOCTLVpbKs9KitG5zyuQwp773YU IUyV5DFIaOah8a1lqxsGfajwSmavQ49HlBc5cKRsNsWJqmGMJuLEtQmypVlHlpiLzm3m OoEV8Ua2DjW5XpX79b9mnnXHPbrO4TjzG820B9yh+PtlN4mxaO38HkErhmYw6q5MKu9R 8uzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NtooTKuWfsI0QCrRlrRKhhoPIOiA7SRZqluNA4mW06Y=; b=TDw0gYunc3jyXBc8ET/f6PKgBkY8sgRTmGf1UBdevBLJNxl95PQGLy0xUFkIEGW4jx NAnCVkUu/gHUX5nchZIuP4bOkf7fdkGY7IJ+SfTD59c1j2n8yF7jRY9kpCjqoGNvwraA E7FeMIK1vNclwDArEuae3O9fF5rFJeabtcxWV1qmb9nVPHuAqqjUx8PE2zXR73R3qXKr w3PlR/KhEnvfGmyiLfYKYfaQslvuqWqTEVaTZp0aY1eMf/sHEzbAYZRoH7Dktc6lX4/+ Az84KPLH6UjG17rSK9LlN+VOcEU28e3aidj/qOKTRKPI2WEN8smjrU6eB0NL3OG04TvJ RgzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aWDxB0PY; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1158223pgq.411.2021.10.07.18.25.53; Thu, 07 Oct 2021 18:25:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aWDxB0PY; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242021AbhJHB1o (ORCPT + 3 others); Thu, 7 Oct 2021 21:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236670AbhJHB1l (ORCPT ); Thu, 7 Oct 2021 21:27:41 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3BA1C061779 for ; Thu, 7 Oct 2021 18:25:40 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id u18so32213587lfd.12 for ; Thu, 07 Oct 2021 18:25:40 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=NtooTKuWfsI0QCrRlrRKhhoPIOiA7SRZqluNA4mW06Y=; b=aWDxB0PYpCY15yhKsVmwv19eqWn2uKkjYNC+hE5Y+PDeZc7fwSQiGu3sbolIqy2ZEq ZsPvV82uihaE0zJtKej20IDyWT8qLXJ21oCCkNfobAzjxHmXyVVD9f2POwp64TsPKc2K urQng8pCPAyn2Q/a07tf+6xq6nMM/1WlaTdDjSighn1bxZqWjZBa2i+q8uX1F/HEXin3 vbhZzfWeaShos8o0wiLnPIiDHgS3ebBNM2SljMyhuzcYFhzBaadgUJ0h5bimrIbI5AiY maicZ/6R/5AldxAi3fsOE+mEhu2mT0PoZsUaMRKnOz2SmzZ71Hk9V05wd/7GLxoA5HSP ip4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NtooTKuWfsI0QCrRlrRKhhoPIOiA7SRZqluNA4mW06Y=; b=Fk4/vcFlgcHqUMSz4oF8orJemFkdooxDloRH5DGheMfvxIqf3wGT2ICNjdRO4Jt7ol gmb34nsXAPTrCsgywIIj11dk1n0Mbxk6Ht1E+gh/4Gci5J3KjTAp3NL7j1Cu9ODawE5G 0C/HRcT5WeC169ms6oc8wrYd5JUWadGlw/Ce4kSaXjm7cgEWocLUwvNa4Ag+t25AZHbf olACkwo5pmB3eC3q6BzJqIBjzyd9I6x//gdefPK2iQO8goU4h1sWfRkVebXK4lybXSkg OAjEwauKFyhFjqqAgW3kiQe9wI8M9+lPOPp5yzEt07cl1kTDFZUwOthxL+xr+JA33s12 sgCg== X-Gm-Message-State: AOAM533gdGqaGMEyvCF7rGt/WOYW2vmcLBf9RwfSPLhEZDgafLgtmzWO D1oLqeWyJkipMeUZYsQxSxDLuw== X-Received: by 2002:a2e:a41c:: with SMTP id p28mr330737ljn.293.1633656339216; Thu, 07 Oct 2021 18:25:39 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:38 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 17/25] dt-bindings: pinctrl: qcom, pmic-mpp: switch to #interrupt-cells Date: Fri, 8 Oct 2021 04:25:16 +0300 Message-Id: <20211008012524.481877-18-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> References: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Stop specifying individual interrupts properties. Use #interrupt-cells instead as we are switching qcom,spmi-mpp and qcom,ssbi-mpp to hierarchical IRQ setup. Signed-off-by: Dmitry Baryshkov --- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 2.30.2 diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml index 475733cabb02..35c846f59979 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml @@ -40,12 +40,10 @@ properties: reg: maxItems: 1 - interrupts: - minItems: 1 - maxItems: 12 - description: - Must contain an array of encoded interrupt specifiers for - each available MPP + interrupt-controller: true + + '#interrupt-cells': + const: 2 gpio-controller: true gpio-line-names: true @@ -67,6 +65,7 @@ required: - gpio-controller - '#gpio-cells' - gpio-ranges + - interrupt-controller patternProperties: '-state$': @@ -164,7 +163,8 @@ examples: gpio-ranges = <&pm8841_mpp 0 0 4>; gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL", "BT_LED_CTRL", "GPIO-F"; - interrupts = <4 0xa0 0 0>, <4 0xa1 0 0>, <4 0xa2 0 0>, <4 0xa3 0 0>; + interrupt-controller; + #interrupt-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pm8841_default>; From patchwork Fri Oct 8 01:25:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515545 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675415ime; Thu, 7 Oct 2021 18:26:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwooa8Mb64Y4JANdDekqBupLYxbHtSAcAZtWoMhhWmd8hgpV1CHTUwzPh4BPXzL3DybjAjb X-Received: by 2002:a17:90a:1a06:: with SMTP id 6mr9277521pjk.150.1633656362430; Thu, 07 Oct 2021 18:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656362; cv=none; d=google.com; s=arc-20160816; b=DTvTkZROP6ETiOcQKJW6N6/nhbkMy2Bi5kS6oFgfdI92ioJtjjWLSSk/Ie+7HYSuCP dTlZNcqny6rQ8XRfC5HriWvhZwTWhV4u7V6ruUTigEFXgAYUpktqtAdj9QCUJDnyHzBY pE/n+WH/OIKE/DJOedK3vVcoatfNkpG3y8ZpSTv9g163lKUZIoYNstdb4hLCsHB8ry6A ZmWjSWSwqoYjgf7TISTaUSS7EPoKX58RV3Jwg861YPiJ5jxzm32jAHlCHKQ4CdIPNp69 uqnUyiqxSpiNl5AIGVXcnUWDPqM5TWqpDYjGds+kFER/7szHOvwHgkhTbarEhANAXboX 31wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Rl9lijE101nkKuIfXUJz0J1rHJh3GLfZMfhSeNFX708=; b=ULYh9yjqXf2+gxXIZhzAT0qFP/BMqyj1Nt6gLLwTDWWFfcRINagXnz828ECJtCEkam 6fC0DdbrMsKtmuP97T17Rogctil2RjXh5PzRDzpHwXekdq65YdUzxd4e1PMu9Ir8Hy6Q JwTgCZ9398rWz01Xf9kQitl8mnGW3Hp5dPJiCZSEc4LkHjcPEcZqgux8FKVYLSrr/EAo MJPB6f0HsS2qfAxmIOM3bVF47qUO8tavOulJHLOQWKcQAJpwcyEiwhTGryGVAhWQF0vJ mBkkwSCA47c1IcjqXR6mdg922IJqS7V2gUIXYZz23PHtoRQhfb6sLwfQ6qe7p7kzRHD+ wGCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RqlG/JjJ"; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1158223pgq.411.2021.10.07.18.26.02; Thu, 07 Oct 2021 18:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="RqlG/JjJ"; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239238AbhJHB1t (ORCPT + 3 others); Thu, 7 Oct 2021 21:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242028AbhJHB1p (ORCPT ); Thu, 7 Oct 2021 21:27:45 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3736C061794 for ; Thu, 7 Oct 2021 18:25:44 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id i24so30956442lfj.13 for ; Thu, 07 Oct 2021 18:25:44 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=Rl9lijE101nkKuIfXUJz0J1rHJh3GLfZMfhSeNFX708=; b=RqlG/JjJd4k29AASlqtoXzQdegQ0a+3xdtSbdEq2jABLdJiJaTOPLfdbL2hg5zeh1q tvqA0mTagWvk+CgCwwy9JflMkCoMMuEfiRgTNS2XB7vvxC3K+6wiN2Fly9hgUuftn81X hzDnI3lYjjRl4zHnA54MjRBpwRdSYfMteOA/csqMl9NYyjlia8hpQqPv27vymwS2/NkR YtZe2N1qzBfB9bz1JXoi56SttGU+c17/IOMNt2/AxEBrUpKnVbVpW8VKNLzJ6EORbpP5 BMEy7EWgqduLwEV7z9R+mgzAV4ZLuhzKMt1bxa5E/JRh2kiYssGs28Zuy1kF+UZqaJn8 A/Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rl9lijE101nkKuIfXUJz0J1rHJh3GLfZMfhSeNFX708=; b=d+/GBEWzUWyqmZ7O41uvdbes+Z23TkBf08Q+YdDQWGKdZRi3dR3ISNKp0zvCfafuVJ WbiodQe55jzYL39dCAvaw+Y6LcHXiNdcyZ1tkS/KBoH1LrGTY0kycKtXzK8bpMtz+pHu IeUFI/+92eRMx6miux6yWBZfB+GNwT09I3yoNhRDriRegsTYXCNIJeQMUKuwxCmq94Dk QksiIonUMWlRKvZtd4EMASqcfEEl62xvQNOtzEWjivXPap8QtbH+LEJ15pEMAYty9TBD DIG7cPbpZVqQjIwg8mlF48HmEwgZGBt8o98WBlNnmQBUaZbHWA6lr4elPRXHavDSawuq zbGw== X-Gm-Message-State: AOAM530I8fjswKZ3+7qwDMrdDHkKQmOwOuCnq5rUVGNAqGXXc5dqV6rg KR33L5vS5SWxaCqtxsVejPt1HQ== X-Received: by 2002:a05:651c:905:: with SMTP id e5mr325945ljq.361.1633656343167; Thu, 07 Oct 2021 18:25:43 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:42 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 23/25] ARM: dts: qcom-pma8084: add interrupt controller properties Date: Fri, 8 Oct 2021 04:25:22 +0300 Message-Id: <20211008012524.481877-24-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> References: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Now that the pmic-mpp is a proper hierarchical IRQ chip, add interrupt controller properties ('interrupt-controller' and '#interrupt-cells'). The interrupts property is no longer needed so remove it. Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom-pma8084.dtsi | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) -- 2.30.2 diff --git a/arch/arm/boot/dts/qcom-pma8084.dtsi b/arch/arm/boot/dts/qcom-pma8084.dtsi index fcee2afe6740..7b8a8d9695da 100644 --- a/arch/arm/boot/dts/qcom-pma8084.dtsi +++ b/arch/arm/boot/dts/qcom-pma8084.dtsi @@ -43,14 +43,8 @@ pma8084_mpps: mpps@a000 { gpio-controller; #gpio-cells = <2>; gpio-ranges = <&pma8084_mpps 0 0 8>; - interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, - <0 0xa1 0 IRQ_TYPE_NONE>, - <0 0xa2 0 IRQ_TYPE_NONE>, - <0 0xa3 0 IRQ_TYPE_NONE>, - <0 0xa4 0 IRQ_TYPE_NONE>, - <0 0xa5 0 IRQ_TYPE_NONE>, - <0 0xa6 0 IRQ_TYPE_NONE>, - <0 0xa7 0 IRQ_TYPE_NONE>; + interrupt-controller; + #interrupt-cells = <2>; }; pma8084_temp: temp-alarm@2400 { From patchwork Fri Oct 8 01:25:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 515547 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp1675449ime; Thu, 7 Oct 2021 18:26:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUGIEONOv3TfV4u4RowfgC8PYHezRKBUwCwKONu6P6/zet0j6n0srcyUjJZuaPCDhs5pMD X-Received: by 2002:a17:90b:33cb:: with SMTP id lk11mr1828897pjb.0.1633656365142; Thu, 07 Oct 2021 18:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633656365; cv=none; d=google.com; s=arc-20160816; b=cJpHfa+Hu17HzAIV6n7I/H80QxcrtaWR2HoQ/r6+Kr///yoZhLEm9WXcjHXyn0PD66 bTSmrMm5Z+wAnGb3WNjkhykzvZQ7i27C03WuLand+8ROpvzG2fV4r0+5aIX5nxXb3TBY nt2DhkseURNrihpADm2BvMdK9ALyMlUr8OotkeWw+7nQmrtMwnY+cBM/sgXptalas0vr muGbuVjissiE9VTM28m95AE2Zuos6cMfLAiSRK0sApPlze8OgUC+spSOCy9J4Fcuxvpe wXv3IDOkGq5NXgH5qSqVSnpLGKLfk9JPVma0wv8mf4q/M2/ontMViR4Ya1jlIxq3vkl/ iY/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KFilYJCf+KpWxQtdiRPdV9UvPSg+EjF5wR3x+/r1PaM=; b=aqZr/57/k1/uOscRQ83kRXMWTnYYXN6S5e4rk5LHihFKdUJB1CaHdiT1zO9ktvnVpX fTtOJ/ccaLefTr25+6eVHaiFxXTzK80xvxzBHRbSJYJwXHwrsXx+MNJbGoSkrapLCPgu NL8AtYviTRJgg6WZ3u84LirM8azL4D+kiZ8cCGlFBrcK1X8J8ABNCWTUkHipyutbda1q Nms6ffLaYHfmIaMWmdhHA8Q7UKadQfUEtd3eV46uTDCNUknDFUX5ER4SzIXfghOVwdtM xPUEjwd+i49bqUJO8TkAD7gP0XJQyQEsO0S9b20Ycf4lRlBO4olcGu499zszcHyrNjap xjTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b8Kp3Iwx; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h7si1158223pgq.411.2021.10.07.18.26.04; Thu, 07 Oct 2021 18:26:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b8Kp3Iwx; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241462AbhJHB1v (ORCPT + 3 others); Thu, 7 Oct 2021 21:27:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234188AbhJHB1q (ORCPT ); Thu, 7 Oct 2021 21:27:46 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BEABC0617AD for ; Thu, 7 Oct 2021 18:25:46 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id b20so32912277lfv.3 for ; Thu, 07 Oct 2021 18:25:46 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=KFilYJCf+KpWxQtdiRPdV9UvPSg+EjF5wR3x+/r1PaM=; b=b8Kp3IwxAUvtNck1lwmE1eCa2D0sGIsH53MbErRUDrC2x71IDEeSO3vr05y1QVRK4N XakZEvxTVTCJoW6tMZBIYBX/OG+JhezlK5lWV5NOdoQHGX0+rTsfhWvBNBnaVCuW9AyW Zz7ecnwkpFi50/0o52sev5frAGtUqJVwgnOltDFcGy8uO1SJyMd4kfeG1+IcmeaP7Umw XGa+so+3NFhLAaR8YhR6IxjuVSBBRKOw6zjWJnPgHtdJ5cIqNZJLYcPv0WZprgJAD6R5 +6R0XY03fdtOtAGn7S0VZZBkahD0uahB29LjDZlkHKfMFmERBxl4Zx4rsrZ8IpToiGg9 5MHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KFilYJCf+KpWxQtdiRPdV9UvPSg+EjF5wR3x+/r1PaM=; b=5P7tBrS3xVSrDwLXHg47hk9i9irx59Dr3wRzBEe4V1xTt9oNBnghXE3tNKD29AV4QS 7Oel3LSLcMs+gidik8+hT8KyCUDs2r47/2k2VFDuEl7+HlmTfwtIPpDSwsdnyhgZCoPP YlZnmHSHQ15UAKXevlwve6HLI3WdMAPfNgtynDVcbUIhthkBejZo7spL4idTYYZxjRGK eBhlZ0I0y2Q6H36/4jd+ugpF9z5Tuk51DlG1DUgzPD0sBjBEGIGrV1z/OcsJzpou/wx2 YaT/pEcAOV8B7Dvql47rZIakZOm5hLK0kD2ETdNSwaRYJfUs6AJWF6K7wD8D6++iCXd3 oy0Q== X-Gm-Message-State: AOAM530j5ye9skCHeAPjkL6UTep0GNtik35XsnpgNvYf61sBJ4kONJlD 4PMVc2a+b+sJJuRDRS+WcxjEWA== X-Received: by 2002:a2e:5702:: with SMTP id l2mr373823ljb.370.1633656344600; Thu, 07 Oct 2021 18:25:44 -0700 (PDT) Received: from umbar.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s4sm112875ljp.115.2021.10.07.18.25.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 18:25:44 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 25/25] arm64: dts: qcom: pm8994: add interrupt controller properties Date: Fri, 8 Oct 2021 04:25:24 +0300 Message-Id: <20211008012524.481877-26-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> References: <20211008012524.481877-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Now that the pmic-mpp is a proper hierarchical IRQ chip, add interrupt controller properties ('interrupt-controller' and '#interrupt-cells'). The interrupts property is no longer needed so remove it. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8994.dtsi | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) -- 2.30.2 diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index 88a9d19b60ac..5ab46117d737 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -124,14 +124,8 @@ pm8994_mpps: mpps@a000 { gpio-controller; #gpio-cells = <2>; gpio-ranges = <&pm8994_mpps 0 0 8>; - interrupts = <0 0xa0 0 IRQ_TYPE_NONE>, - <0 0xa1 0 IRQ_TYPE_NONE>, - <0 0xa2 0 IRQ_TYPE_NONE>, - <0 0xa3 0 IRQ_TYPE_NONE>, - <0 0xa4 0 IRQ_TYPE_NONE>, - <0 0xa5 0 IRQ_TYPE_NONE>, - <0 0xa6 0 IRQ_TYPE_NONE>, - <0 0xa7 0 IRQ_TYPE_NONE>; + interrupt-controller; + #interrupt-cells = <2>; }; };