From patchwork Wed Feb 1 19:58:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13124931 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2DC18C636D4 for ; Wed, 1 Feb 2023 20:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ceMq0/FVC7N7WH3cI2mhKUc3uC709qILLjbH7+2lO88=; b=iYgyZhN8eZHLvw KOYLSSIzfc4jLXxqUoLy/xtc14Q3p7ml+OQmdTbNIbg0euc7gjukd2ERZyEakXU4RH5rTmuir+y6u bjDAnxv6+zzi8lg8RgatiTeXw08Edv1KsxVwQJeInCN3/kjz36WoL8xCK9vdYoWxg7wsoiDNxxErg 7T2PfvEEQPZ2XucX6ZDfVc8mqPHSfphRrxj+B53UQpcw+peBWP1bJUP+rx2vMkKocdB3nIejkyYrw 2FQzmGwJXB1PUMMrdaSj3UhfcV5iBTYRLQu+eLhAd8LH3Q8Jdu4GnNOKdAhFMj+PVxsIJSXOlHGct XuwITqfTL6jDEeDSa++w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJ9-00DSwQ-HP; Wed, 01 Feb 2023 20:02:15 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJ5-00DSuy-Pn; Wed, 01 Feb 2023 20:02:12 +0000 Received: by mail-ej1-x633.google.com with SMTP id qw12so38839752ejc.2; Wed, 01 Feb 2023 12:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZUwxNJxFlwiJY3LE0c9a6Ul2PZq/gNO1u4vk0lo6jnI=; b=IVLey1eKZEphphuNftYbmy7S1jjoJUqk4PgJK0jUbbm3gYEPerkSIQdBo2Ny1fXClI 8neWXXxDRn28q63pPFRneXPzJESFwzBwlzruwVrq1YUdsb5eUKUKSf57XNWn1ZHqzSpw +jkd0YvzOOSX0mkuh0zlp+GSB5ynYsvE/fg2804Dpdr0nbEiGLNdDYEAXlLOyN0tlztr RS6KDUeR33/bPOMblHolVz2eEaLWKVx0BWlpYa79LKGh0nIQfkxG4k8uvaLgfG9TCaJ6 Nmt495Lta0Vj6MHnKSU0yntoSFGhW5EyM5JuWpBLtKzy+4g667VYsilKsR9DNSDGAGN3 WSHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZUwxNJxFlwiJY3LE0c9a6Ul2PZq/gNO1u4vk0lo6jnI=; b=jKTUk2Bofp/M1Hy5sNpDJIFONEYFWv0lG3TB3vT7eF3Up2KSc8KNsi8Nv09eDz1VcO t/X8/hXi6jHY6ZptDpV3S26LrYDfDvGDMCmv+NoVq8mIzA9POQYPEo1qtSCbEA/b5jIj u9mdN6Zpg/n/+HsZBXin8TVnU+aQmFV/E21RX/frV8VLH3l7IcEPfZRRBNIA+kqIoLaK dIYTOn9pQnWhFD0KlByum7TfAai/Xii+pydU8SQRwj+cC+5xLvzqymNPg1FLVKUj8kBq wl4NGkmgAA1y38+n8xZngv0b1ysDra3oyaJ4OcTyE02plxJjpIj25R5NleSp+23OPqim +t9A== X-Gm-Message-State: AO0yUKUh2qD+s3fzoTBoG43ZkgYXkB1oz2NI4ewO980f7pawsEOXEjDP HwmLb3Uezaa5KvMZIqhXNa4= X-Google-Smtp-Source: AK7set8h0j6vw0PIPChjn+OwS6+zd1oGxPsJJFo8VoSYCJEhnxWEj0LExbaxskt85Q397EyTALNABw== X-Received: by 2002:a17:907:1607:b0:87b:6aa1:c87f with SMTP id hb7-20020a170907160700b0087b6aa1c87fmr4814168ejc.26.1675281730131; Wed, 01 Feb 2023 12:02:10 -0800 (PST) Received: from ?IPV6:2a01:c23:b912:d400:3963:7bc4:12b:ddb3? (dynamic-2a01-0c23-b912-d400-3963-7bc4-012b-ddb3.c23.pool.telefonica.de. [2a01:c23:b912:d400:3963:7bc4:12b:ddb3]) by smtp.googlemail.com with ESMTPSA id se11-20020a170906ce4b00b0087f68a2681bsm8264924ejb.96.2023.02.01.12.02.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 12:02:09 -0800 (PST) Message-ID: <66f77c32-2678-3e31-fb00-1294ccaa6045@gmail.com> Date: Wed, 1 Feb 2023 20:58:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: [PATCH 1/4] arm: dts: meson: adjust order of some compatibles Content-Language: en-US From: Heiner Kallweit To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Marc Zyngier , Thomas Gleixner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Thierry Reding Cc: "devicetree@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , "linux-arm-kernel@lists.infradead.org" , linux-pwm@vger.kernel.org References: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> In-Reply-To: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230201_120211_880706_B8F13C74 X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org During review of a new yaml binding, affecting these dts, it turned out that some compatibles aren't ordered as they should be. Order should be most specific to least specific. Suggested-by: Rob Herring Signed-off-by: Heiner Kallweit Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8b.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index d5a3fe21e..5979209fe 100644 --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -580,8 +580,8 @@ ðmac { }; &gpio_intc { - compatible = "amlogic,meson-gpio-intc", - "amlogic,meson8b-gpio-intc"; + compatible = "amlogic,meson8b-gpio-intc", + "amlogic,meson-gpio-intc"; status = "okay"; }; From patchwork Wed Feb 1 19:59:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13124932 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8ABAFC636D4 for ; Wed, 1 Feb 2023 20:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=td5t53ypr/pQof950+qlUg6gK1EICuTU3kw1dMl3WnY=; b=rmJ19ZHgmsECZf 2LQtLcFn9JM7tueMQr5aQNi36aqhlBFJBM8evdDDH9cQUEGWDlImtQKAknTrpOvkRNU1onoduVCau rDJ2HQvVkGVigZWCeZomNgpOB9uc2Y1fthu5q3pBWH/RK1Om08uvmy2UPyE3a5Sc0fc4WOaf29xaz kGVZsM57OuXkDAOZ1nrocggOpvFkwvHsukNCMge1MiImizW7ciT91XmG1wLK5CTfoM8l/NNFlwOos 5oljogyIEucpFNE9VMaKP7EZUC87WpcF16QaLpPyl2QhdmOJNPr659zIsNMXdtAXPW1Su9vMO4Eq6 myuQc1TnSRrfbrEJjGBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJI-00DT0q-Mz; Wed, 01 Feb 2023 20:02:24 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJ9-00DSvd-O2; Wed, 01 Feb 2023 20:02:19 +0000 Received: by mail-ej1-x62d.google.com with SMTP id qw12so38839988ejc.2; Wed, 01 Feb 2023 12:02:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qSroPy2WHgGfW4fqnkho5f90ztpMpK7y6tuzoTj/kVc=; b=D8BtHxYRruMEAMT6AyhMVE0cV2GFDa2AjI0UQXoZmCEw5ipyVKHWcEH5fZxqOOexUW vcWG5KdD71WyezR2Mse/Ezb2aYo+HV9x4VnG5uFkKh6vsh6lhIVy0Bt8QptGnqgPuKaQ fnZJhJvEwy2f2LaAs2p46SACCdt/6aow4kEIhN6/jpgJGlRCxDSxR2x0IWauFsBF9j31 wYmEx9pcAvblNsWa0NRRV6Rzfcc0RmaeQ6mV56uhUrJNOM1kNRyBsnaZ7vBYHLQLZO6G EdEO6OIuvfxXftC5kRrLJC+Dl48aUQbFK87zNwB0gIs5VRc7yzUTOEgRr261EnJr3was jMRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qSroPy2WHgGfW4fqnkho5f90ztpMpK7y6tuzoTj/kVc=; b=KjqyNDAoiRL7uXsQ7UeXaa7gJKeF76+b6KYXQlieMUQlgKHSCRX3nvwEWle0A+QKcj kcgDAHhFJlpekAlDlNE3BQtN1omcYMtfuUi6U233ZYqa4okEsbJr+qebyswJnV+Pgh/m rzuK5W+ZVMHx9AlBOdkCmwRaVMmNWkmByMaWcOGk8aLsOSbbwoFEaRshY4KxUIOpjnM8 i+3Heo51P7CideT27Z+mcE+3gCC533Vz2kyeCXxl1vwc4mm5vmcVi4r382/RZ0KwWT+G hLtUXfBRrBvcvaxwvyn1rSasmP2C9yOt8qcGsF+O60OHou2x5AGVyzouCiCgjYPVkaE4 /6TQ== X-Gm-Message-State: AO0yUKUivlIerDbm0hUeNgkSN+I1rZC7jNssOByuFF8/udmsxomD2YAn wroCu64O6NINwiuAQUYBBXM= X-Google-Smtp-Source: AK7set83/MjcdNvgrsa/LwVxwaTVpq4xOQwjEfak/z3lA6Jw+klDakt5Xb2m+6JuYulQhsFfPPrrNA== X-Received: by 2002:a17:907:8745:b0:882:82b3:58bc with SMTP id qo5-20020a170907874500b0088282b358bcmr4233828ejc.65.1675281731737; Wed, 01 Feb 2023 12:02:11 -0800 (PST) Received: from ?IPV6:2a01:c23:b912:d400:3963:7bc4:12b:ddb3? (dynamic-2a01-0c23-b912-d400-3963-7bc4-012b-ddb3.c23.pool.telefonica.de. [2a01:c23:b912:d400:3963:7bc4:12b:ddb3]) by smtp.googlemail.com with ESMTPSA id d27-20020a170906041b00b00887f6c39ac0sm5660738eja.98.2023.02.01.12.02.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 12:02:11 -0800 (PST) Message-ID: <1ce888df-6096-73de-a98a-354d086428d4@gmail.com> Date: Wed, 1 Feb 2023 20:59:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: [PATCH 2/4] arm64: dts: meson: adjust order of some compatibles Content-Language: en-US From: Heiner Kallweit To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Marc Zyngier , Thomas Gleixner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Thierry Reding Cc: "devicetree@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , "linux-arm-kernel@lists.infradead.org" , linux-pwm@vger.kernel.org References: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> In-Reply-To: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230201_120215_825498_CD0A4657 X-CRM114-Status: GOOD ( 12.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org During review of a new yaml binding, affecting these dts, it turned out that some compatibles aren't ordered as they should be. Order should be most specific to least specific. Suggested-by: Rob Herring Signed-off-by: Heiner Kallweit Reviewed-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 923d2d8bb..12ef6e81c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -300,8 +300,8 @@ ðmac { }; &gpio_intc { - compatible = "amlogic,meson-gpio-intc", - "amlogic,meson-gxbb-gpio-intc"; + compatible = "amlogic,meson-gxbb-gpio-intc", + "amlogic,meson-gpio-intc"; status = "okay"; }; diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 04e9d0f1b..af912f698 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -312,8 +312,8 @@ &clkc_AO { }; &gpio_intc { - compatible = "amlogic,meson-gpio-intc", - "amlogic,meson-gxl-gpio-intc"; + compatible = "amlogic,meson-gxl-gpio-intc", + "amlogic,meson-gpio-intc"; status = "okay"; }; From patchwork Wed Feb 1 20:00:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13124933 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F03A8C636D4 for ; Wed, 1 Feb 2023 20:03:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EkJS8vZVcqDYr2rgEiPPQSpKv2FQit71MiqG1VdexyI=; b=smh2q3USb45yUw AjlJLpG/njmcIhPraGFNZu4OjzpFFOpwFjm5AFThYcf2B/8x1PZzhg5kNY4NYvPwhGvrI1aySUSD+ SVs922nLBDAnYrzPqKX0ye3w31XSCou1OsWHF3VSzZaQ6iS2lVPkRinCFgK6a4chF9uDTQOQuLsbr +pn9j9HD5x/aZDSO6XPmcm63d2/25gAhhbLi0WwOtnGf31a6CRHukxgFJygADjBFS4rwmCJeUqs1U kupLqU/mSbfjjYMmp0gdY3314bXi+jSH3viyoppvnSHgX+23gzgW0KeUaDZupv2SGInpBxo1pw3O8 gKjlgh+TP/LtrrfRpmdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJT-00DT60-Ik; Wed, 01 Feb 2023 20:02:35 +0000 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJA-00DSvp-1G; Wed, 01 Feb 2023 20:02:19 +0000 Received: by mail-ed1-x52d.google.com with SMTP id f7so11658491edw.5; Wed, 01 Feb 2023 12:02:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GjWgvQwvZyIsMDgCbiBje/5KENMDXEezSPyh+umiPdU=; b=GdhO4DdpoLpR0ZKP3Xw/WTvp+aHvsGxS/NmFUeHukhP2Fp1RWkq5bi1B7squTskbP4 /hfZgnpCOIkGQk0vYT4Eo3Lb89tP2apjreJ4zjuMPFhOUaI6MaO0oN5MHaBzOPtKhbwX JvSgvb8JXAZ6/qNknuiPCiBSixfaOBf6o5t7gQYm6L8dOIi4F3NodmxauNckZM20INO6 enc8ZsZ7qVfZ+EKuYfD2EN/DP7ap44fI1oA12c5xU+zAxqmfVLiAaV2p/GoRq20BYzAi AXlGI1GeftUACT4IRRQQz5COWDrtS2H1PYze4lQgXFYkZgPkqWpll4JZrrSyKN7LFGuj auvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GjWgvQwvZyIsMDgCbiBje/5KENMDXEezSPyh+umiPdU=; b=5/15FgYSC2sRZNNDRKDQ1Fa4cFprnJjBY6NSq7hdxo6kSE34XeTt0D0pURwYtB2s/s AsJDeEhG4QeieShtWHLyj1hPQYxzDH2qlEwSl/F8Y+H+5NovwTN8mjxmDTzqfLBMQ1P0 NOmm2u21i2V8kZeTxXyTs6MPm8XG0EJ6YJ0DbwTSfDpQA1bvmM59JQjgpqaUzGHRr45R MWwrVkNbFXFF8Gl1wLS90ahGvv3qIJYrGRAbyTNebxy1NnyAF6foxz2vYbqh6ExEORj2 VkRVxKTBTPi0qJLWEpaDBwBDbt2V2x6ksnzSn75CgyTxe+VFVF5lrXLQimkfj60f6cmn VhwA== X-Gm-Message-State: AO0yUKWrW3sVat3OYkLcV3MW27Qm9anTs2hV/hXKUYJIh7fJmcJIjBEO 00AEN/B4jzraNwvDO9QE4Zk= X-Google-Smtp-Source: AK7set9KWjKT6/RHInEXGxZqqoVIS6d7vQeC3zQ7pPQeXiXdw8jqSi7/LCKDS6ITaDZNLHvURIkJYA== X-Received: by 2002:aa7:d0c6:0:b0:49b:4711:f4b4 with SMTP id u6-20020aa7d0c6000000b0049b4711f4b4mr3791920edo.0.1675281733150; Wed, 01 Feb 2023 12:02:13 -0800 (PST) Received: from ?IPV6:2a01:c23:b912:d400:3963:7bc4:12b:ddb3? (dynamic-2a01-0c23-b912-d400-3963-7bc4-012b-ddb3.c23.pool.telefonica.de. [2a01:c23:b912:d400:3963:7bc4:12b:ddb3]) by smtp.googlemail.com with ESMTPSA id lc7-20020a170906f90700b00887a23bab85sm5797602ejb.220.2023.02.01.12.02.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 12:02:12 -0800 (PST) Message-ID: <5b83767e-c53d-316f-df10-45a39dbd9c88@gmail.com> Date: Wed, 1 Feb 2023 21:00:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: [PATCH 3/4] dt-bindings: pwm: Convert Amlogic Meson PWM binding Content-Language: en-US From: Heiner Kallweit To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Marc Zyngier , Thomas Gleixner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Thierry Reding Cc: "devicetree@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , "linux-arm-kernel@lists.infradead.org" , linux-pwm@vger.kernel.org References: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> In-Reply-To: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230201_120216_119690_04249B90 X-CRM114-Status: GOOD ( 13.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert Amlogic Meson PWM binding to yaml. Reviewed-by: Rob Herring Signed-off-by: Heiner Kallweit Acked-by: Uwe Kleine-König --- .../devicetree/bindings/pwm/pwm-amlogic.yaml | 70 +++++++++++++++++++ .../devicetree/bindings/pwm/pwm-meson.txt | 29 -------- 2 files changed, 70 insertions(+), 29 deletions(-) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml delete mode 100644 Documentation/devicetree/bindings/pwm/pwm-meson.txt diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml new file mode 100644 index 000000000..527864a4d --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-amlogic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic PWM + +maintainers: + - Heiner Kallweit + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - enum: + - amlogic,meson8b-pwm + - amlogic,meson-gxbb-pwm + - amlogic,meson-gxbb-ao-pwm + - amlogic,meson-axg-ee-pwm + - amlogic,meson-axg-ao-pwm + - amlogic,meson-g12a-ee-pwm + - amlogic,meson-g12a-ao-pwm-ab + - amlogic,meson-g12a-ao-pwm-cd + - amlogic,meson-s4-pwm + - items: + - const: amlogic,meson-gx-pwm + - const: amlogic,meson-gxbb-pwm + - items: + - const: amlogic,meson-gx-ao-pwm + - const: amlogic,meson-gxbb-ao-pwm + - items: + - const: amlogic,meson8-pwm + - const: amlogic,meson8b-pwm + + reg: + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 2 + + clock-names: + oneOf: + - items: + - enum: [clkin0, clkin1] + - items: + - const: clkin0 + - const: clkin1 + + "#pwm-cells": + const: 3 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pwm@8550 { + compatible = "amlogic,meson-gxbb-pwm"; + reg = <0x08550 0x10>; + clocks = <&xtal>, <&xtal>; + clock-names = "clkin0", "clkin1"; + #pwm-cells = <3>; + }; diff --git a/Documentation/devicetree/bindings/pwm/pwm-meson.txt b/Documentation/devicetree/bindings/pwm/pwm-meson.txt deleted file mode 100644 index bd02b0a14..000000000 --- a/Documentation/devicetree/bindings/pwm/pwm-meson.txt +++ /dev/null @@ -1,29 +0,0 @@ -Amlogic Meson PWM Controller -============================ - -Required properties: -- compatible: Shall contain "amlogic,meson8b-pwm" - or "amlogic,meson-gxbb-pwm" - or "amlogic,meson-gxbb-ao-pwm" - or "amlogic,meson-axg-ee-pwm" - or "amlogic,meson-axg-ao-pwm" - or "amlogic,meson-g12a-ee-pwm" - or "amlogic,meson-g12a-ao-pwm-ab" - or "amlogic,meson-g12a-ao-pwm-cd" -- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of - the cells format. - -Optional properties: -- clocks: Could contain one or two parents clocks phandle for each of the two - PWM channels. -- clock-names: Could contain at least the "clkin0" and/or "clkin1" names. - -Example: - - pwm_ab: pwm@8550 { - compatible = "amlogic,meson-gxbb-pwm"; - reg = <0x0 0x08550 0x0 0x10>; - #pwm-cells = <3>; - clocks = <&xtal>, <&xtal>; - clock-names = "clkin0", "clkin1"; - } From patchwork Wed Feb 1 20:02:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13124934 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B65CFC05027 for ; Wed, 1 Feb 2023 20:03:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8Fjn6M8+UQAUZ/ZrxA8HddPO9DEFP5ngMLdgG3i3ATU=; b=WPvPhs4Tur3zip DMdfa2Mobm2s9SHJU55d6XUgk1sehI9NuXaD+uBjwE2BBJH+fOXT3fxD309GHDDlcFwbax61C291d +15fnKvPjSyruXru4FJHy7CNDPumAjI0GwNdw0sBzPap1KvM8OzxJyItELNh5rCjTDBPiL9oEBilO wcARIudOKebtZqz+MhWb6p3ZRdsT2UajlODSSbQh5IV0Uby2v+hO7duhaRrPf3Q9I04a9/Dk95hyZ sLYTMRSfx+ae+pwNAFmFmnYZxTA8vWL3sHCLMMOY/k1lyBxRZSiG6l+xCh0CcKFVreaCRS0AKvwIw mhWlAeqUeoaICQHX9prQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJf-00DTE4-H0; Wed, 01 Feb 2023 20:02:47 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pNJJA-00DSwX-5G; Wed, 01 Feb 2023 20:02:19 +0000 Received: by mail-ed1-x531.google.com with SMTP id v10so18878487edi.8; Wed, 01 Feb 2023 12:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=lAKhSOGbJYSH01+bqzzbEWLSFc9Fd4YDw+koc/Y6S+8=; b=SKE+ldyYpYhOFodHZXwI12i9Q0q7gUCgFvZPMGFOAzYIe38Ypl34TRuaDGF/hUaoAG igNydkmuQ1h3nL6bEMsp7kYPxEs4jMe6QP9S0aY4qWW6lAEQSEiEAcLiBPhQeAHuMhRD +92ejjdz8Yw7ioakmIunkwpPJnxPNoWxzLfN8Wr6dZzWwoO86yqEhMqvW8co5//LhEtV 0rSpysUZ19zUbXu5Ciw06T9pRuCmLxnm+3Yr12se+vpIk+/yprmmbMfHEABCeat9cVOS whZIIuLgXl1v++XT5JvbqUHSP5HzBDHQhHbl2Nk0CtH/DwdxY7EfXbYuqHV2PBAIHL2W MauQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lAKhSOGbJYSH01+bqzzbEWLSFc9Fd4YDw+koc/Y6S+8=; b=mwmrJopkpEZm7vnWeE5ZogmhxwJrF5EFEsc7lg4wbQWtEzB+6bc5JDlV8k68lPMBb2 iJB7c1qfAXQB24IyLtbAwxZEXOMyZguEy0bL0msB8f/5PN8xhZd0+5NrbvCpNoYKVJeA JUHhe/42d7NT6ZAaeKo19O5PO/1Yj4wem+7LJdMNB6JNixY1qi1QTosYCJrDjkiQ1usP FbCD2cQCLjNVQfNc3+iw+rcXJJV4BsxgExaFCaueQNs03RW4xEkzWiF6EwlBcTHSRxLe upcDE6l2tSLWUFBv2LHCVj4k08Lf5QSwWMDItZRW0ZSPILElcY71TmDIYQQI/KUkok6c xopA== X-Gm-Message-State: AO0yUKXgQz/Yw7z1IhvIYmOKyl87v5kid7Wc569TMqosNMfFks/5f01e JXazWd12BNbTLSzzo3PF0S8= X-Google-Smtp-Source: AK7set+ci+EffZUH9M9mpMZHkLAlLOcDB20fPIdVQFRY9LRyOwfG7kqmhOKa2mq6l5zOKMmEGCg7bA== X-Received: by 2002:a50:d491:0:b0:4a2:1263:bbab with SMTP id s17-20020a50d491000000b004a21263bbabmr3911848edi.17.1675281734647; Wed, 01 Feb 2023 12:02:14 -0800 (PST) Received: from ?IPV6:2a01:c23:b912:d400:3963:7bc4:12b:ddb3? (dynamic-2a01-0c23-b912-d400-3963-7bc4-012b-ddb3.c23.pool.telefonica.de. [2a01:c23:b912:d400:3963:7bc4:12b:ddb3]) by smtp.googlemail.com with ESMTPSA id k6-20020aa7d8c6000000b00487fc51c532sm10399813eds.33.2023.02.01.12.02.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 12:02:14 -0800 (PST) Message-ID: <8cae0b08-8040-ef7b-da0e-92d9b3695249@gmail.com> Date: Wed, 1 Feb 2023 21:02:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: [PATCH 4/4] dt-bindings: interrupt-controller: Convert Amlogic Meson GPIO interrupt controller binding Content-Language: en-US From: Heiner Kallweit To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Marc Zyngier , Thomas Gleixner , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Thierry Reding Cc: "devicetree@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , "linux-arm-kernel@lists.infradead.org" , linux-pwm@vger.kernel.org References: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> In-Reply-To: <8df4ceec-663c-dc68-d775-5caeb02c0cca@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230201_120216_244860_4569EC2F X-CRM114-Status: GOOD ( 18.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert Amlogic Meson GPIO interrupt controller binding to yaml. Signed-off-by: Heiner Kallweit Reviewed-by: Rob Herring --- - consider that more than one compatible may be set - remove bus part from example - remove minItem/maxItem properties for compatible - reduce compatible fallback complexity --- .../amlogic,meson-gpio-intc.txt | 38 ---------- .../amlogic,meson-gpio-intc.yaml | 72 +++++++++++++++++++ 2 files changed, 72 insertions(+), 38 deletions(-) delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt deleted file mode 100644 index bde63f8f0..000000000 --- a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.txt +++ /dev/null @@ -1,38 +0,0 @@ -Amlogic meson GPIO interrupt controller - -Meson SoCs contains an interrupt controller which is able to watch the SoC -pads and generate an interrupt on edge or level. The controller is essentially -a 256 pads to 8 GIC interrupt multiplexer, with a filter block to select edge -or level and polarity. It does not expose all 256 mux inputs because the -documentation shows that the upper part is not mapped to any pad. The actual -number of interrupt exposed depends on the SoC. - -Required properties: - -- compatible : must have "amlogic,meson8-gpio-intc" and either - "amlogic,meson8-gpio-intc" for meson8 SoCs (S802) or - "amlogic,meson8b-gpio-intc" for meson8b SoCs (S805) or - "amlogic,meson-gxbb-gpio-intc" for GXBB SoCs (S905) or - "amlogic,meson-gxl-gpio-intc" for GXL SoCs (S905X, S912) - "amlogic,meson-axg-gpio-intc" for AXG SoCs (A113D, A113X) - "amlogic,meson-g12a-gpio-intc" for G12A SoCs (S905D2, S905X2, S905Y2) - "amlogic,meson-sm1-gpio-intc" for SM1 SoCs (S905D3, S905X3, S905Y3) - "amlogic,meson-a1-gpio-intc" for A1 SoCs (A113L) - "amlogic,meson-s4-gpio-intc" for S4 SoCs (S802X2, S905Y4, S805X2G, S905W2) -- reg : Specifies base physical address and size of the registers. -- interrupt-controller : Identifies the node as an interrupt controller. -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The value must be 2. -- meson,channel-interrupts: Array with the 8 upstream hwirq numbers. These - are the hwirqs used on the parent interrupt controller. - -Example: - -gpio_interrupt: interrupt-controller@9880 { - compatible = "amlogic,meson-gxbb-gpio-intc", - "amlogic,meson-gpio-intc"; - reg = <0x0 0x9880 0x0 0x10>; - interrupt-controller; - #interrupt-cells = <2>; - meson,channel-interrupts = <64 65 66 67 68 69 70 71>; -}; diff --git a/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml new file mode 100644 index 000000000..fe7ef1916 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/amlogic,meson-gpio-intc.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/amlogic,meson-gpio-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson GPIO interrupt controller + +maintainers: + - Heiner Kallweit + +description: | + Meson SoCs contains an interrupt controller which is able to watch the SoC + pads and generate an interrupt on edge or level. The controller is essentially + a 256 pads to 8 GIC interrupt multiplexer, with a filter block to select edge + or level and polarity. It does not expose all 256 mux inputs because the + documentation shows that the upper part is not mapped to any pad. The actual + number of interrupt exposed depends on the SoC. + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + oneOf: + - const: amlogic,meson-gpio-intc + - items: + - enum: + - amlogic,meson8-gpio-intc + - amlogic,meson8b-gpio-intc + - amlogic,meson-gxbb-gpio-intc + - amlogic,meson-gxl-gpio-intc + - amlogic,meson-axg-gpio-intc + - amlogic,meson-g12a-gpio-intc + - amlogic,meson-sm1-gpio-intc + - amlogic,meson-a1-gpio-intc + - amlogic,meson-s4-gpio-intc + - const: amlogic,meson-gpio-intc + + reg: + maxItems: 1 + + interrupt-controller: true + + "#interrupt-cells": + const: 2 + + amlogic,channel-interrupts: + description: Array with the upstream hwirq numbers + minItems: 8 + maxItems: 12 + $ref: /schemas/types.yaml#/definitions/uint32-array + +required: + - compatible + - reg + - interrupt-controller + - "#interrupt-cells" + - amlogic,channel-interrupts + +additionalProperties: false + +examples: + - | + interrupt-controller@9880 { + compatible = "amlogic,meson-gxbb-gpio-intc", + "amlogic,meson-gpio-intc"; + reg = <0x9880 0x10>; + interrupt-controller; + #interrupt-cells = <2>; + amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; + };