From patchwork Wed Aug 28 07:19:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 172328 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp364843ily; Wed, 28 Aug 2019 00:20:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdbw2LWmVs7HYfEPx7xsWxW2lksohVWIG5tR+5Ufzn7QGA64mHvizU7w6d6PqIXU+sYjYo X-Received: by 2002:a17:902:a418:: with SMTP id p24mr2875704plq.263.1566976806872; Wed, 28 Aug 2019 00:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566976806; cv=none; d=google.com; s=arc-20160816; b=sIImH2XXWwinxxvLPnuMvHsjVnBRAPlkc+Up9A0OW05LlBPEDpLiG6fhy4Zb3VFakR 0PYEpYn5plvryuZHaprlT5cY/JUxtJffRB9rPiu5tfHy+WLdMiG85wWXRof5q9NXDqJs LesXW4X+F9dCZUP6mU/GQMLvJMO921Kj1ioHY/pdnTRs0YfGVD3P7/qYvRgMe9rLcOIW v6ekc6NoUYZXw20Ov8UD466BPL5N/EXPzS8tWhl6tL9PgZuflSeNU48dxaRk9h+g7ht4 gM6A5RKwkVADQiy9zWl+gdvGP3u5qyBwoKGvIIAmACNvMpaXLzTfYemLu8J4fmPLNL4g z2Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=jQh9SSBn95nOSdIqagWp7AmXioHLcjP6O7Zi0zdlr0w=; b=aPb/iY8NtxuF4GS6enVTgEjMw+THaU1qWzA68TOOl+JdIKaGE4kxYqu/49MdFilm7v 73jm8fDm+42/NJA+Kri5nMUh7rPn3MPQcyGLUj6gFjU8WbMkoIfkIOstQov723gW4UPL jlGthjgbAGG61xrPJWC3JhPjnYScA1QVIlUIcqaumKiLan4G9FW3nnnWx7H4xnqVbW8a KyVtist3yRQLsz6PMtF3enLEw4dc+CEN6gFxTQyldPNgquiBg4h1WM1XqQ9S+RXhc4Ti YooUZDnpj2MrR19VQKgUeHgjl1LTDRJRawYv1tG1hIE9w0sEb/e1XZ+8IHUt3PSOG6f7 IJjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jvWE6mjv; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si1222986plo.306.2019.08.28.00.20.06; Wed, 28 Aug 2019 00:20:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=@ti.com header.s=ti-com-17Q1 header.b=jvWE6mjv; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726232AbfH1HUF (ORCPT + 5 others); Wed, 28 Aug 2019 03:20:05 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:52968 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbfH1HUF (ORCPT ); Wed, 28 Aug 2019 03:20:05 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7S7JpAn112202; Wed, 28 Aug 2019 02:19:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1566976792; bh=jQh9SSBn95nOSdIqagWp7AmXioHLcjP6O7Zi0zdlr0w=; h=From:To:CC:Subject:Date; b=jvWE6mjv30ov9ozTrT9q5g5T7bkRdhc9z+saB5ZT0bCu7csWESY+j9/rtCMhepb2N +2CHGwMMgg0H5FIsdmfw3C3sbt6Z6u83xLrl+Z6UqAm6VO748sioyiMY9BhW/tlBUw mQtX7drMznmi6zEHqJcl8NWfENKNWErt4IVHmSWY= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7S7JpQO082666 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 28 Aug 2019 02:19:51 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 28 Aug 2019 02:19:50 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 28 Aug 2019 02:19:50 -0500 Received: from sokoban.bb.dnainternet.fi (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7S7JmfC052201; Wed, 28 Aug 2019 02:19:49 -0500 From: Tero Kristo To: , , , , CC: , , Subject: [PATCHv2 00/11] soc: ti: add OMAP PRM driver (for reset) Date: Wed, 28 Aug 2019 10:19:30 +0300 Message-ID: <20190828071941.32378-1-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, V2 of the series mostly has comments fixed from Suman. - Added a link between reset + clock drivers to sync up the state between these; this is to avoid facing any timeout issues on either end due to sequencing of events (Patch #5.) This has been implemented via TI only private driver APIs, as at least I am not aware of anybody else needing similar mechanism and it is pretty SoC architecture specific. - Dropped any powerdomain related data for now as it is not used for anything yet. - Added checks against illegal reset IDs. - Added checks for pdata validity during probe. - Reset data is added for am4/omap5 SoCs. - Some other minor tweaks. This series depends on the clock driver changes [1] due to patch #5, otherwise there will be build breakage. Also, just as a background note, this driver has been implemented under drivers/soc/ti due to the fact that I did not figure out any better home for it. In its current form it would be suitable to reside under drivers/reset, but there is a plan to extend this to support powerdomain handling also (PRM stands for Power and Reset Management.) -Tero [1] https://marc.info/?l=linux-clk&m=156697558331203&w=2 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki