From patchwork Tue Jan 11 20:17:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12710673 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EF52C433F5 for ; Tue, 11 Jan 2022 20:38:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TVsaDdlEFYOP2BKtJqwn/vhMsSpmeTXgwYe6V6rqKms=; b=Aqbs4JfyUCapuM 4fy2lz70uh0pBDkvDCeNUkk4Ov6eKTHZtTjpqg77iNZUHaqXj2v6hW2x9wF6+HBHyafTdqwqQxHA5 8GetOeP99bRGtzw31C2WrWwL6XUUXhZklMzmXRvI5f1lgnjcMNVmql7zTvn51s6b2OVAgq9wjMwHZ 2kSPho6p2nBdkZnqEU2cqEJo38PiUUxk+CWDXPqXQ/tEuPxmsBr+JaMGRv3umiNL3jsz9D/yuApx8 PwoT0S2VhVABi3q0H9eqk2Rvwyvczp5OGvGrByfWASF6NXecm9TpPz91FXwS5ZSIBo7PorSI2UnUi Gs5U6MD6UE96y6uyHbvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7Nsz-0003C8-OO; Tue, 11 Jan 2022 20:36:54 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7NbG-00HXUH-4d for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 20:18:37 +0000 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 50F1040703 for ; Tue, 11 Jan 2022 20:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1641932312; bh=XwytGlpNwAoffYK7XTO0vqmQRh/r4dCBFpHoBh3s1F0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CrH9DgEQSQuSSGDwldCUC2AYNQAU7cdbQm0Ur0dxHRYwZeDbVyoCF5lj44utRUtBg A9bx4gvh6P5L6pwC07p38kfyAkrWGBmE9Lpwiw869O79E7A0OGFl7/uDcHaB57VzHT 39Sj18EzpDUbjI6oWU9cB4orSb4U/D4zyCDviVEPIPtzv3LSFPeb2VeeTG6uLG7J6g iecqtQCeVz5Trbw3wyi48I5W58GPL7siGxoAjvkEX56/i9ew5Y2Ig7kK2d683bOk4a CFOhN6G/jtVPoh6qXjcoA2mFlSqVUz/gXoWtjePwz41qJmFR2hA2wnxyg/n+5rWHvS PceDwsVnu0P+w== Received: by mail-ed1-f69.google.com with SMTP id c8-20020a05640227c800b003fdc1684cdeso186860ede.12 for ; Tue, 11 Jan 2022 12:18:32 -0800 (PST) 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=XwytGlpNwAoffYK7XTO0vqmQRh/r4dCBFpHoBh3s1F0=; b=cillUi9CuPkqqdMQtL1vcCVwjjo6n1xdH/LPr2j36v5xRdII3c3Ih6NOEG79O3gTrl Wkjxue5vIuAu5gp22SuIIfY1Ex2me1E/KApFyEBv9lIuzxP5FpCRzLPXomNxtEjsWcNS qk8nXMNAvYPOxE3Qw0PcEoCKBqiY4jfkyu1HShE4nq778zNl+ykX1TniM3LzYA4U+wgo Yqj937P/FQ3UAZi6xBwSBpDS0o2I201y1m8Zen4REGWw7Jom+sf0l10Wnlk27Dqfr+Hr 9rfYQHb2OdrsnsRuAOCsclGOH0LkUbHE7pgQ2e1eQvOqRSHtObAQlZXjMFXUpwCD2RBJ XP5g== X-Gm-Message-State: AOAM532U0sXHXOcgrH2EMgIpX3izFD5fGYnH8dBjNIrir+qpop0NjOh0 IYYOZMLaJsmOQle6BX131zMBwL2ACTSYf6rQeQeFnU6ywtTUfwG3Lw1xnR2pB5DrrdqH2RwZYj7 9urBZtDtysR5nW1fByOhKhhaBKPja2FZk2p9pk/FMtirPBkFL3PCg X-Received: by 2002:a50:d710:: with SMTP id t16mr5950651edi.50.1641932309589; Tue, 11 Jan 2022 12:18:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQMEe2rdc+p0osbS3bSYRErMsf6bgYHS+lbWQrndlXIAAbjx5a0Ndcs/anYHU7KQMKJQOuDg== X-Received: by 2002:a50:d710:: with SMTP id t16mr5950638edi.50.1641932309393; Tue, 11 Jan 2022 12:18:29 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id e4sm4030881ejs.13.2022.01.11.12.18.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 12:18:28 -0800 (PST) From: Krzysztof Kozlowski To: Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Linus Walleij , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Sam Protsenko , Chanho Park , Alim Akhtar Subject: [PATCH v2 26/28] pinctrl: samsung: add support for Exynos850 and ExynosAutov9 wake-ups Date: Tue, 11 Jan 2022 21:17:20 +0100 Message-Id: <20220111201722.327219-20-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220111201426.326777-1-krzysztof.kozlowski@canonical.com> References: <20220111201426.326777-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_121834_362143_7DEDC6C8 X-CRM114-Status: GOOD ( 14.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It seems that newer ARMv8 Exynos SoC like Exynos850 and ExynosAutov9 have differences of their pin controller node capable of external wake-up interrupts: 1. No multiplexed external wake-up interrupt, only direct, 2. More than one pin controller capable of external wake-up interrupts. Add support for dedicated Exynos850 and ExynosAutov9 compatibles. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Chanho Park Tested-by: Chanho Park Reviewed-by: Sam Protsenko --- drivers/pinctrl/samsung/pinctrl-exynos.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c index 0489c899b401..a158d587814e 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos.c @@ -465,6 +465,10 @@ static const struct of_device_id exynos_wkup_irq_ids[] = { .data = &exynos4210_wkup_irq_chip }, { .compatible = "samsung,exynos7-wakeup-eint", .data = &exynos7_wkup_irq_chip }, + { .compatible = "samsung,exynos850-wakeup-eint", + .data = &exynos7_wkup_irq_chip }, + { .compatible = "samsung,exynosautov9-wakeup-eint", + .data = &exynos7_wkup_irq_chip }, { } };