From patchwork Sat Nov 17 18:11:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10687559 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 A80AC109C for ; Sat, 17 Nov 2018 18:12:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97DB52AADA for ; Sat, 17 Nov 2018 18:12:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 851552AAE3; Sat, 17 Nov 2018 18:12:10 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 E72122AADA for ; Sat, 17 Nov 2018 18:12:09 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=pBXgWZe2iJ6ZXCbqou0WO1mZtjXYi3Dvtd8GbQI3HpA=; b=WJGkai+akig/j8 /OOYfhsvdOL2q7szE1ieLkcIVanrHnzrZ+q7fSlFT8SL/UgbcpNAIFO32qoYOMac+wcD6Ox0iVKev KmMgIJwY8C6ealaOLlw157KS0PelbRGv07G/DJmkKBg82Jyh3BormpHh0uUji9YrBkPJZWEyPu06u yoJ3bVFx8wcgr2m1Ambx0JnkZwuKMDFtmqqGoGPj5NHtIAscurHofd9x3C315IeeutJruui1nJnLZ fHb0cOP8xW8wKiJDlUBUq6dXWiJHwdvn6xOpHVdEz5YwmS4dDyuMUmiZmypXZLmNcC1DZQgK+LEd1 4mEtZvahRR1hMzDgVwXw==; 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 1gO54f-0005yq-AC; Sat, 17 Nov 2018 18:12:05 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gO54b-0005xZ-Ib for linux-arm-kernel@lists.infradead.org; Sat, 17 Nov 2018 18:12:03 +0000 Received: by mail-pf1-x442.google.com with SMTP id 64so8429399pfr.9 for ; Sat, 17 Nov 2018 10:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iIVIEsAcS+mtjbS5QZCMjtScOtNatQOaiRih4W87jh8=; b=pXViSzeBjm5uNZpVbLfw+/XBnO80h+MS6chFWU7O9t43tn7VMkWSihzJIorajlUJS8 uaINCJD6pJWKow+moAWmhMXUqK24LznarVGa8HLDXznpF71hEDGZF6xdWqoz6ZjEf+B3 8YpdLasHB7xjHTf+qgbfq4NlSHi0Wnexp0x+iadAZ2tpJcAIgxAmB05xp04IEfYkwbeT HUmFtVFNwIZzBt5/c8gppMVzVZ2CRSepJX+M3VuQWnQ176OMQM4wZPzkFDNecPfF1KDI 3/g/T/VO5aduSACKBO94EjJ/jP7psJ5neVmRaHTKxWpJ1hvETD8nTtpuPUQG/AYq3ZuW u4Eg== 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:mime-version :content-transfer-encoding; bh=iIVIEsAcS+mtjbS5QZCMjtScOtNatQOaiRih4W87jh8=; b=F6GgTvMR4syX5dyZwsS7jq/xgd8Z5LXifZBDnlbblF+EY+XN3GZfi0gKgdyacHW9+q yn0VkgxriltKJznrCaCspcKJyehzBI0jMKa++7bUo4A2oxuQtmQiCEUT+49jrM98hd+D aZwcOMWujNQymIWd+Hkp9+EgIjeCk+hw8yBWcSsdZ6+9XLZrPlUQH5PppIapPvuu0q82 op8fVHq9IFoTteP/VRSPBdaLvyqyjJAvzQJzkWeIET9WERliXLdTa1b0rRMb/kBBUHNY 8OoschWpqhWcQM3o+CTaOplkJmFGmTJ2IKUs8kAPl5JnBVzGUrZmVBzvTvCLcZ88mfRE sVOA== X-Gm-Message-State: AGRZ1gIZ/c4puL0GFkIOdhTM2iyraV/jLvdiunDuZfdP3E+el+9nCqBF oZ8Po91I7WIEZ+0Oz9DpJQvfSj20TG8= X-Google-Smtp-Source: AJdET5cJ5uGCvalr8J6QU6WD/u94BxcRE7CJDvQnyPKdT20pXRRbqrkMwp+e+GUmIgVDAeWqeReHwA== X-Received: by 2002:a63:c503:: with SMTP id f3mr13961807pgd.431.1542478309480; Sat, 17 Nov 2018 10:11:49 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id a73sm24816500pfa.7.2018.11.17.10.11.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Nov 2018 10:11:48 -0800 (PST) From: Andrey Smirnov To: linux-kernel@vger.kernel.org Subject: [PATCH 0/1] Reset controller support for i.MX8MQ Date: Sat, 17 Nov 2018 10:11:30 -0800 Message-Id: <20181117181131.9330-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181117_101201_613979_47EA3074 X-CRM114-Status: GOOD ( 11.36 ) 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: "A.s. Dong" , Richard Zhu , linux-arm-kernel@lists.infradead.org, Andrey Smirnov , linux-imx@nxp.com, p.zabel@pengutronix.de, Fabio Estevam , Leonard Crestez , cphealy@gmail.com, l.stach@pengutronix.de 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 Everyone: This patch contains changes I made in order to add support for i.MX8MQ to reset-imx7.c in order to enable support of PCIE IP block on i.MX8MQ SoCs (full tree can be found at [github-v0]). This patch is _very_ preliminary and by no means is ready for inclusion (it also has some unmet dependencies). However is should be in OK enough shape to get some early feedback on, which is the intent of this submission. Specifically, I'd like to get some feedback on whether the approach of having a single shared reset lookup table is acceptable or not. All other feedback is appreciated as well! Thank you, Andrey Smirnov [github-v0] https://github.com/ndreys/linux/commits/imx8mq-pcie-v0 Andrey Smirnov (1): reset: imx7: Add support for i.MX8MQ drivers/reset/Kconfig | 2 +- drivers/reset/reset-imx7.c | 66 ++++++++++++++++++++++++- include/dt-bindings/reset/imx7-reset.h | 15 +++++- include/dt-bindings/reset/imx8m-reset.h | 47 ++++++++++++++++++ 4 files changed, 127 insertions(+), 3 deletions(-) create mode 100644 include/dt-bindings/reset/imx8m-reset.h