From patchwork Sun Nov 22 16:11:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1404512 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.a=rsa-sha256 header.s=s2014 header.b=BcrJT1Rq; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CfFjl1BBtz9sSf for ; Mon, 23 Nov 2020 03:14:51 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C85EE8262C; Sun, 22 Nov 2020 17:12:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.b="BcrJT1Rq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5ABE0825D9; Sun, 22 Nov 2020 17:12:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,FREEMAIL_FROM, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from libero.it (smtp-31-i2.italiaonline.it [213.209.12.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 88D2782569 for ; Sun, 22 Nov 2020 17:11:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dariobin@libero.it Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([87.2.94.187]) by smtp-31.iol.local with ESMTPA id grxekH1hlQgqqgrxwkn9rN; Sun, 22 Nov 2020 17:11:52 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1606061512; bh=tNmh/haXNIIDSV0rNmBqdkpsl5PXHW2FDiSrknZMbCY=; h=From; b=BcrJT1RqoDoiugWLiOKMzjogSeody8SFdgyCave8yMsY7Lq5OR2u4wtVq/dtobeOP rdsczJWJj7JrFVfycra+rwXNVxQbO89yJLGt2R/DAQs5c0ABpoOqQmygaq7SaKNrWb P1AxU3xnnifS4Na/u0VrKoJW6X8COSnxYM7k1LmA9cyvjrYzBwAZAoEnENpzIaNgao S/9Hf/z3d6VYhW2Z8qWNc/05UnP5Anm2p40NtHkadm5YKNxFKWjJhi4BBgveKIeMSG Gl+Lj9prZi8BBoHm66DS0eOIEKEhi0/asQ2KYnKm7Lg730lT3chSV4IWOu0FC/PFMr hwffGnO0cXllw== X-CNFS-Analysis: v=2.4 cv=K4fnowaI c=1 sm=1 tr=0 ts=5fba8dc8 a=/8YHF75YQ9f7f3UrJFxoKA==:117 a=/8YHF75YQ9f7f3UrJFxoKA==:17 a=X1sIKL__9mVgdvoqH8AA:9 From: Dario Binacchi To: u-boot@lists.denx.de Cc: Dario Binacchi , Lokesh Vutla , Simon Glass Subject: [PATCH v6 15/28] arm: dts: am335x: enable prcm_clocks auto binding Date: Sun, 22 Nov 2020 17:11:15 +0100 Message-Id: <20201122161128.13753-16-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201122161128.13753-1-dariobin@libero.it> References: <20201122161128.13753-1-dariobin@libero.it> X-CMAE-Envelope: MS4xfObQiXz6cUx56hJpAMJ/Amu0YF6rIZeuEznnQCLDMgOUctURzv4S7xdBWhDtj/ho4cQJet1hUq1Z1pmlrqLn+lbl7EemBYaa5IvSMGXeZTK+kvWdoIBE I/6jck/KFL0lGJXvNTo72LMdqYf7xzAqwvQ+aGHAkWE5xPeIu+zm7i09SlIFWhL2HQSL0pj74Si1sJhdqoaCNjeTC9VIn7Xgua1AYKHU93zmzyiQOnwLyBEh sBfEhQASML8qfJrWbDdsxB2KGjxJ4anY17YBMOIEmsqAVKYo9NB/ytCEPjtHE/kPNbNYESv6u0MccTJm0XRAZA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Adding the 'simple-bus' compatible string to the prcm_clocks node will allow its automatic binding. Signed-off-by: Dario Binacchi --- Changes in v6: - Remove the 'am3-prcm' driver. - Add the 'simple-bus' compatible string to the prcm_clocks node. Changes in v4: - Include device_compat.h header for dev_xxx macros. Changes in v3: - Add to commit message the references to linux kernel dt binding documentation. Changes in v2: - Remove the 'ti_am3_prcm_clocks' driver. Handle 'prcm_clocks' node in the 'ti_am3_prcm' driver. - Update the commit message. arch/arm/dts/am33xx-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi index 78f5e2c4d3..2426ece680 100644 --- a/arch/arm/dts/am33xx-u-boot.dtsi +++ b/arch/arm/dts/am33xx-u-boot.dtsi @@ -9,3 +9,7 @@ u-boot,dm-pre-reloc; }; }; + +&prcm_clocks { + compatible = "simple-bus"; +};