Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1695702imm; Thu, 21 Jun 2018 00:39:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKEAzM7+OD8PWmpRZjFMJsV/XL6GLvKktbiG3TxmxbuLA/Hp2qs4yoGPx+3dXKtki0pMCu2 X-Received: by 2002:a62:fe19:: with SMTP id z25-v6mr25755160pfh.167.1529566755274; Thu, 21 Jun 2018 00:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529566755; cv=none; d=google.com; s=arc-20160816; b=fSS5CLHj5Fp0XqrHGtAdxg0A4Iej904cxZlWvEWXBCO5fxJP+j3U5mpt5N1D11y73b Felc/jydD6BHAnqDuXjCkKnHH6vvPzIPYrzOQPlz8lkna++VvSp3Q4LnGZrr09P078eF iN/j3OfN6Jo36TYded5x1ICgRPDm1K4WT0o8aiKuhgbBVJwWKw4mQjfTywyfCCUUrm2J KCwmjL/iZczoFBGSyTEoxyk9KsW7P9QXaUVo5JGGzOtP8E+yIbB17iaP6eGlpIhBBouH QU1vZOGKFb1o2RS3iBPSyz8OFIlq8F382yuE8618+NJAmWVb6Ru4pqo+vHEBVX4aVHkZ N2dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Djmr6P7/w02tjrGh56mJfhSLvLdCJdT0Xa6yTmN+g5M=; b=OTjLvGx6CMLEAITkCEYBs/zuf9kJVyz2qcVijYR0Am4/gSy20QVlGpvCq6syy73cMF UPrAo/8YK0uN+Uns9+7wBYG0ad1qWyQv/rtorIgorKfIiumhazJYJWvrNnhvWOh2pgfC FBwjf+kjzyNae1G8iTSkuW2UCed70o/wW3aaQRv/uslsKj6hCJLc4vOIt5pzwtOf+1GY 80G0bOBfHsbjwrI6IVADfNSlcn6XZHPEU+DweYPxuHaeRTfze0Nw98dCnS7iCHTkFUeM Cfy7EYlKC9HjshZQIqMk0UMuGYptMuc/IcZi8kP87NUp9BMxTQhwbQmHaWt5ppkk3//O JW0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="uu/iGZK0"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v18-v6si4106581plo.285.2018.06.21.00.39.01; Thu, 21 Jun 2018 00:39:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b="uu/iGZK0"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754441AbeFUHhQ (ORCPT + 99 others); Thu, 21 Jun 2018 03:37:16 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:33347 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754308AbeFUHhM (ORCPT ); Thu, 21 Jun 2018 03:37:12 -0400 Received: by mail-wr0-f193.google.com with SMTP id k16-v6so2043764wro.0 for ; Thu, 21 Jun 2018 00:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Djmr6P7/w02tjrGh56mJfhSLvLdCJdT0Xa6yTmN+g5M=; b=uu/iGZK0kvysdIhf4j8vxrrtF2h69qOg2e7QtSIuD4a2kP5ijW9bHn4P4LaD9jEXUE GQQ5/p5XQ+jVFzAmUfcZa5Q/yqxh/+oU6VKYeCpUAExPsrZMx0MQDy67vr73nOZsBUzh 4bTgxwwW++7cjiUuxY8u7iEePZD+7gqo27YHsPONGXFtRpypfefbZQbdi681WO/bCBLI jb/D1aMMOsXspcsMNFHuq6ScsDORtZAfzBZI/zFR/V6qzy+Vk09uaZNHKoViRsM4wxnN mAGv7MO0oJVV7zEVVq6xIQbD3vWMBemwduirKg52a0jionlYSNHWW6moBDr5a/EutITb 61xA== 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; bh=Djmr6P7/w02tjrGh56mJfhSLvLdCJdT0Xa6yTmN+g5M=; b=fh2NIpXWqe+NLa0VHKlNGxdTO2b8u9gRe+fx7x6gItRLb2kYtxAC4wHODOtRJn2x/O +7fso7F8jzz0XyZFHZNT8/dkUmlRmwuGBrWZwsjx/+kwcCOfC1iSb+bMAWpgN8bObLRE g/gxlLEyay2LTTp40xAh2WmRT7z0q2ZE0gkowR2mYcImO8raRLObKkPcHBkDKciZn1WU eCMqnu9oSNXDlv19En9NCj6zk8fIY/Ysh6IHf0OY39li3ERO6dYcFad04c/X08yltVHl v0WgC/8W3THWH50Fcg6V4X1Ohl1GrfIm8HoRSh55NtD+0mEDZCU6Jx1AIXK4R1fd9gth OTkw== X-Gm-Message-State: APt69E39X2O6CVZwAbf/FU+tlXypgdbtyPklMhmQG7RjEJAyGs3Khqoa MN9WoqJyF3y+RoFVaaWnrIUTGA== X-Received: by 2002:adf:ba8f:: with SMTP id p15-v6mr21866541wrg.139.1529566631093; Thu, 21 Jun 2018 00:37:11 -0700 (PDT) Received: from brgl-bgdev.home ([2a01:cb1d:af:5b00:e837:b8d5:48c1:571b]) by smtp.gmail.com with ESMTPSA id l7-v6sm767635wmh.1.2018.06.21.00.37.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 00:37:10 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , Russell King , David Lechner , Michael Turquette , Stephen Boyd , Ohad Ben-Cohen , Bjorn Andersson Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-remoteproc@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v7 0/4] ARM: davinci: complete the conversion to using the reset framework Date: Thu, 21 Jun 2018 09:37:02 +0200 Message-Id: <20180621073706.22812-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski These are the remaining patches that still need to be merged in order to complete the conversion of the davinci dsp driver to using the reset framework. They apply on top of v4.18-rc1 with David Lechner's remaining patches merged. v1 -> v2: - fixed the device tree patches the descriptions of which were mixed up - return -EPROBE_DEFER from davinci-rproc's probe() if we can't get the reset provider, since it's possible that the lookup table was not yet registered - made the local variable naming consistent in the davinci-rproc driver - fixed a typo in PATCH 5/8 v2 -> v3: - modify PATCH 1/8: drop the provider argument from the function adding lookup entries and instead pass the provider name to the RESET_LOOKUP macro, return -EPROBE_DEFER if we locate a correct lookup entry but cannot get the corresponding reset controller - modify the reset lookup entry in psc-da850 - don't manually return -EPROBE_DEFER from davinci-rproc, instead don't emit an error message if devm_reset_control_get_exclusive() returns this error code v3 -> v4: - make index the second parameter in RESET_LOOKUP() (right after the provider name) v4 -> v5: - fix a bug where the dsp_reset object correctly stored in drproc struct v5 -> v6: - rebased on top of v4.17-rc1 and retested - dropped patches that were applied during 4.17 merge window - added relevant review and ack tags v6 -> v7: - rebased on top of v4.18-rc1 and dropped patches that were applied for v4.17 Bartosz Golaszewski (4): remoteproc/davinci: use the reset framework clk: davinci: kill davinci_clk_reset_assert/deassert() ARM: davinci: dts: make psc0 a reset provider ARM: davinci: dts: add a reset control to the dsp node arch/arm/boot/dts/da850.dtsi | 2 ++ arch/arm/mach-davinci/include/mach/clock.h | 21 ------------- drivers/clk/davinci/psc.c | 18 ------------ drivers/remoteproc/da8xx_remoteproc.c | 34 ++++++++++++++++++---- 4 files changed, 31 insertions(+), 44 deletions(-) delete mode 100644 arch/arm/mach-davinci/include/mach/clock.h -- 2.17.1