From patchwork Fri Aug 30 12:18:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 172686 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp543309ily; Fri, 30 Aug 2019 05:18:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEhJQovu3XdEpJTk8u+FimZAJi34YqVlvX4Ay84bKR2DxVm3F7YMp/jNqoVhNwvoE8vcD3 X-Received: by 2002:a65:680b:: with SMTP id l11mr12818114pgt.35.1567167518018; Fri, 30 Aug 2019 05:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567167518; cv=none; d=google.com; s=arc-20160816; b=kgyJk1ZzdLGn8/bJyBkQR9ehZr92W+uHiQF75rh/NilENvxxM3Rz1obFjWUGkTE1Tr pDp8J4wqLWoQkKoT3rTtK+FaeHc5KVDoy9CYTlZ9hiVqvjclC1S45ujK3vZ22R6C0M/D l8wSHtoTEfjJTsBY2WvdN0s8rS9qZieu0rEWGs0mdmxZ6w7s8xZH4sBHplGrgrloUE4f 72Ox2aHOqsNrFqATq7UMS4KMOzgu7Dx9daW3wfktS5UmL15knQ44hvPIaBRYsQJtLLuO WHowiAHtBc3ibO2YcL39Qkwa8aL39iNC8R0OZCVKiWZ1BWJdsqyD0FkxASuLh7QPzs/C 6szA== 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=snTTmJmckSgiJtRBVI0YVB/NDSXaOu6BJL2FsvLymhs=; b=zU3PhIKfE89Xrtzg0ubahEnc1JgtigjLxvjcBD8H/MSh+NR8Z/W04NXdHfanQqz2N2 8AJ1g9N2502QB+j4tI2tT6ykuQkA2HQr8Kyqey9rLv48XZXYzyes0Jzq6fPlqgc0EsB/ ErJMz0jhvnDqIHjItbUwZQ4bddWzH1paj6yLLbDMAH1RodeW2xOi1Jz6x12kdtkCj3tO BNzuWxmxOiC6daiFxuXwKxJHxmqJQs42Ml7Y2+syUumhg0xtm50dytV/ZvyT/erpxwV2 rkSy8GopWVXwd37LLhMHxl1BgW+z9BZEM8HqULKX4QI+PC+e//YK2SNob5ArDiEu/utA YfVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=aGm2C+xL; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 r193si1886576pfr.27.2019.08.30.05.18.37; Fri, 30 Aug 2019 05:18:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=aGm2C+xL; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727836AbfH3MSh (ORCPT + 8 others); Fri, 30 Aug 2019 08:18:37 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:39230 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727620AbfH3MSh (ORCPT ); Fri, 30 Aug 2019 08:18:37 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7UCIRSs119921; Fri, 30 Aug 2019 07:18:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1567167507; bh=snTTmJmckSgiJtRBVI0YVB/NDSXaOu6BJL2FsvLymhs=; h=From:To:CC:Subject:Date; b=aGm2C+xLI31fMTlzAls4CpjG2fPmxqLu6RjN96n2nCwfLEFNi4qUF59EWkf+yoKVu e9FhObmXPltfw19e2e1nx0L2rk3Mq8coKeONKV2YJo0l9wccQdkdkkfaOf38bnIvmo COL4aJQLUO4dwnYPfUKCICKVqe8+yjxHTdgbgXac= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7UCIRiC128353 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 30 Aug 2019 07:18:27 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 30 Aug 2019 07:18:27 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE100.ent.ti.com (10.64.6.21) 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; Fri, 30 Aug 2019 07:18:27 -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 x7UCIP6G083824; Fri, 30 Aug 2019 07:18:25 -0500 From: Tero Kristo To: , , , , CC: , Subject: [PATCHv3 00/10] soc: ti: add OMAP PRM driver (for reset) Date: Fri, 30 Aug 2019 15:18:06 +0300 Message-ID: <20190830121816.30034-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, V3 of the series, ended up re-sending the whole series as I squashed one patch from v2 and because of that the ordering has changed a bit. Changes in v3 contain fixes for the comments from Philipp Zabel. - added spinlock to protect register writes - added own xlate function to prevent bad reset IDs to be registered - use mask for the valid reset detection instead of parsing reset map - fixed reset status bit handling - used iopoll macro instead of handwritten poll loop for timeouts - squashed patch #6 into #4 from v2 of the series - some other minor fixes. This series still depends on the clk driver changes for the reset<->clk syncing [1]. -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