Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp3850lfv; Tue, 12 Apr 2022 14:55:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtUikzhpFMaX1V7awmyJRMbJRAOdyyvEzaJNLWrw8fVH2rNr1TV4yXMb1XKuyP78ESM0sz X-Received: by 2002:a05:6a00:e0b:b0:4fa:a167:5b35 with SMTP id bq11-20020a056a000e0b00b004faa1675b35mr40136167pfb.69.1649800541183; Tue, 12 Apr 2022 14:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649800541; cv=none; d=google.com; s=arc-20160816; b=R5kwVGLzQmfifem1WMQnE/JbEoA1+qRqAjZkGUm6Qk9WLhAFZYdm09JXJEum2jCbNN LWcsT82UdDyF4o468t2pv2qbI9FGCMirxNGckFbnZjwEm2K+wC2Vhy+1xDZuCPV9NDD/ GFEuOP8uhiJFmfqXhaesvlGxtjDGYBazCeGhCMhAYi11v1oDNZlcTvyXc2dK9f0u4ydM zXbbfkAMv4pv/FgxOGdwhFGccrZnw+jdzNso3YPHm2C6mY67QjKlVEpZP6pTd7t1vgRd bQ/coUSyeVXyeb9FxkHBbQV42QQZsi5Y7+MGiJvFrj6o0300JGazu3j/tVJZ6qS3fBv7 NLHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ZNA3RtRbTOSzp1Zg/MKQMKPcySxQIZx2q6vIr3MdFp8=; b=m0RDhFEhxKSBP5sEWZpoFhSx8gF3buxh00TxiP6cs6iQX9gJW3O0dmK+7b1N4ZrbNA NumVSkJ56Ub0/nk2da9SfmUp15P3v57Vx8X/l9WAg9WJR+PC1br3FYZpya5lFpfGDS4V +4Mng6J3POL98te3mpGy9smX474lUe57E3PNcTdynmWW/cMGr8NzlYCyg2ODOFQTh8Cd GyanlxVw+zuZztiRC6ZUGAjixD5eDPohSme0QecvyE8JHDSuI1dRYDn3Qe9vzftsPvhR wXtg1mONlEtRNVQ7iuCZKMSE8XrPsuwUji2klnTbvLYKQBLMtx2FufSQQdGuboWhFFCr KuOA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v7-20020a622f07000000b00505b7215af5si7431887pfv.149.2022.04.12.14.55.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:55:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5F55813F8FB; Tue, 12 Apr 2022 13:48:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348217AbiDLPxY (ORCPT + 99 others); Tue, 12 Apr 2022 11:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351060AbiDLPw3 (ORCPT ); Tue, 12 Apr 2022 11:52:29 -0400 Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7F35F4D2; Tue, 12 Apr 2022 08:50:11 -0700 (PDT) Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-d39f741ba0so21131981fac.13; Tue, 12 Apr 2022 08:50:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ZNA3RtRbTOSzp1Zg/MKQMKPcySxQIZx2q6vIr3MdFp8=; b=HUzwR+BipbmqnR/Qh7F0lnutARb43uiWStV1tzQPVNEAgoUvv79BRuOf15KwJ566iL ITB4vlPYSI4QIn6TBZ6wFgpw+r18Up7nZJYDH1ZlNRv4BhXJGCH7OyopXsF0BCUx1hFZ jYGcmdUcipt8zYsTDWU8MEmmgQpUEHe9rT2ITu0YxlTiy1c+8MSVhn3VDf3Jqacy1qST nwjZA0y98ddba/tLCEn09OWWvi05Q/po99OpBKA8mVciN6rs1rLqaKI72obgUHXtbf6N gRanwzIo83LWEiAh0KVRpJ7ezjBT3A2wZmr++VicyfCNY0S0nDSgEw4MgxRc2B2cExfi 8nPw== X-Gm-Message-State: AOAM532j5BQgO2bMKqTh70WILGz64aEZ6QzxLyW5W1HIYh+ap+kPWdHP +72ARi89ByaKbuz0m+4k/w== X-Received: by 2002:a05:6870:3113:b0:d3:473b:3f1d with SMTP id v19-20020a056870311300b000d3473b3f1dmr2333741oaa.116.1649778611040; Tue, 12 Apr 2022 08:50:11 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id s24-20020a056808209800b002da3b9bf8e0sm12333974oiw.32.2022.04.12.08.50.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 08:50:10 -0700 (PDT) Received: (nullmailer pid 348051 invoked by uid 1000); Tue, 12 Apr 2022 15:50:10 -0000 Date: Tue, 12 Apr 2022 10:50:10 -0500 From: Rob Herring To: Herve Codina Cc: Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Clement Leger , Miquel Raynal Subject: Re: [PATCH 1/6] PCI: rcar-gen2: Add support for clocks Message-ID: References: <20220412094029.287562-1-herve.codina@bootlin.com> <20220412094029.287562-2-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220412094029.287562-2-herve.codina@bootlin.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 12, 2022 at 11:40:24AM +0200, Herve Codina wrote: > The PCI rcar-gen2 does not call any clk_prepare_enable(). > This lead to an access failure when the driver tries to access > the IP (at least on a RZ/N1D platform). > > Prepare and enable clocks using the bulk version of > clk_prepare_enable() in order to prepare and enable all clocks > attached to this device. The binding says there is only a single clock, so it needs an update if there are multiple clocks. (And ideally converted to DT schema format.) Rob