Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp233886lqt; Thu, 6 Jun 2024 01:48:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJ7Z+fZUTbLKl4bSkCRQGqwyNbTstnwQw2wpdfKQSZoDG/1SEJN/rMqHklMs+KCqlSjAyLBzL1m3ivjV6+Jozovmd5Cz8ZBdGWwr1z8w== X-Google-Smtp-Source: AGHT+IFNdfA5+faRhA4nITID7ZF7DCrbvFg9Db50V3rG6K23zNsYnH13A3M5ZUlUEELw2Ijz7yEd X-Received: by 2002:a50:c34e:0:b0:572:2efe:4d14 with SMTP id 4fb4d7f45d1cf-57aa5425c33mr1640310a12.10.1717663709120; Thu, 06 Jun 2024 01:48:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717663709; cv=pass; d=google.com; s=arc-20160816; b=XP/d0Ahs+GmbEFgNQafyo7ryRLrzdNBB80pUjHcHd7Obwd58swX3GqNk2JqCC/148L OZ0+aLSL+/D+YkmmIA4Nv+wvrwBrMv6Gh+4LQEZf4L3XKgLZ9mW9a7sDvVC9JnxU9sXY 4yBm0GzV7REy8v0h7socW7PiF79FQQVwSC6GrfXaayw+zZKu6b2QvbbOX5coWdU9/eco scklWlaUMzkr1OyjcPwO4viDWDeEiq6bEpSPhd+oMowja7m36u8c837kwki/dFSQ1pUl 1f66feUvWhWphikfkO9MceH3Wh26gn3k/bU/gMM4qRl9kftdJg3IOdVViEEy03Pjq6kd /QDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=/LxuYDmiq5fzmLpnOdguSgqEOVkFSy/ReEuW4nl1vrk=; fh=AguZb7L+DA9+MDt9PunAUo1mA8I9/XubiHpULHGwpoM=; b=QgGtvJIPe9pQGKzWecxuOCp75rsxMJ0Clr2JWWdy8mavCkOY0iZdXEPwVG9dSAypWi 8nuYXJSHB5LQfoqNLTWRcpmobso2qvN2ZOsYk/+GuqTHwjY66ALjH2kRUmC99Hj3/i6x L6S4Jio9TN1M7b4S21yTgLZTkWTHveXuNanckjoRi78ixqukmGGBm4+Ahz5vM9fXeGzo sWBcykIJ7F+g7n2lQZw9xu0+fiIT+gWDNUddX3BX+2eRCMskcptaFKxggMxIhYwmlYtI FKyK85fh4jNlRsLnJmFcyZ1Jx1FQ6tToTJ0jMIOcF5lHrmXB7r5v52aDZ/SXTlzUlwwK QHDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lbarfGcp; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203867-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae26418csi474834a12.554.2024.06.06.01.48.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:48:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lbarfGcp; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-203867-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203867-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A57541F2283A for ; Thu, 6 Jun 2024 08:48:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1903A13CABD; Thu, 6 Jun 2024 08:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lbarfGcp" Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D4AC13A259 for ; Thu, 6 Jun 2024 08:48:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717663700; cv=none; b=E/3Ug866WdLFU09Fu+G798X/i09ykU36hkxPxhR3p76Ndl8mrfw3L0Pbk2SQ0FcyBqg3OsVjD6QPHkAnNVBLpyVc/Ekhhbsa43NIJ9dRt1/uY8heKN2231C5g6JtMepvo3KsyP54FILOvIYtpNmRUasRq3XQHxLJo/8wEfYvIEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717663700; c=relaxed/simple; bh=sNilSTNy7onJWc0uTbgdd1uABdsGCQf5JooGVu7ReN0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BjLQ5CG7p4eR6wXaGGL0pqPiFRk1WpCF1g5p2As+dopKVW7fAflMsAj/o6fZRLG7BTygm0B16F3sKEtYf4RjDekcMOdVWhcAIKXJqcsQFSHYGevFhUvc6AdbkFmAI6Aux9TQsWTNeH0x3xtrO3Gp7FkuN6dqY+27SfsdKgQPphk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=lbarfGcp; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4213b94b7e7so3700445e9.0 for ; Thu, 06 Jun 2024 01:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717663697; x=1718268497; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/LxuYDmiq5fzmLpnOdguSgqEOVkFSy/ReEuW4nl1vrk=; b=lbarfGcpjMrx22vRXp8DSx8QmQFSaQCwXKFRwZf4bSz5MYtoRepClyP6bLOY52jX6T mCyxVpgYLQVra6iRS1RNQbT4Od+xeJEo4dMORrhzzJtK6b9ODMZ9KKDXujFntUDAUsE5 OrtTeKEmpOtN9gWGt5e0bz2vGmrgvtLMGTmQgphq/yvtXLXxmAlzYOnuui2GPZFh9D1A W1EDKDCYNR0Iz5/RvL6osQAMGunCZRijv6nxdilyv0WBE4msRixMtR90nhgJNexI7pYw Q8dQzMyV6Y99u+xG9iDfb8u/DILmizpHTwLxDmG78UOHJ0Q9/kDhKfsKKVz6m7Z6CERg MPTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717663697; x=1718268497; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/LxuYDmiq5fzmLpnOdguSgqEOVkFSy/ReEuW4nl1vrk=; b=dzp8lWac698L1pC1Tm1GE+2OjvBmPVr9Ri2FgkVszZrbdwRQDW0Bf2DDGWaeZX/GoL fwL99DIbBiRY+3bMgk0RZA0PzixpYsg9JKN2bFKGjDb88+85gsgDbPMNsgcw32j8sOsz ++qfBN5m8OpQr5l89mI8yuvbQp075NBuEvdqU0iXMSJycR27imu58s0Gj2Ki79PGfH+5 CSSwAz7/Ua3/pzlGjiLx8RFQH5XgTXJeyqhKWRcxhHmkm8PHmEQlQGJnnlTZ2UZE0zjS AQSVGc5JcWUjvYLwqodLRzyajjlgyUiimKNJ5EhQZ5LiB9c5waS43caWCAUJOkOu7I/x W8ig== X-Forwarded-Encrypted: i=1; AJvYcCURtyUZEfyakHGsYBGrb3OtjKnUn6fH6VNfuXT9+U09U0qxft7ZUzYZgqWARuxzTK8JA2UbpkSOA7Zuh1/qoEAuve/K1+K14jFO87eI X-Gm-Message-State: AOJu0YxCiZ4ThYXzid1VX6OOJhf/FWAbsxyn/KXRP1j5PRNHde6N9D2/ gfCVlu6zPBCtLC7m+0u5Uxt3dbVr8bHAmtBolPzbjcUhcsqUKWE93fRGc4z1Vt2a+zig3UKpyY7 p X-Received: by 2002:a05:600c:310f:b0:421:561f:4c with SMTP id 5b1f17b1804b1-4215acc489amr16495415e9.3.1717663696902; Thu, 06 Jun 2024 01:48:16 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4215c2c690dsm14227445e9.34.2024.06.06.01.48.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 01:48:16 -0700 (PDT) From: Neil Armstrong Date: Thu, 06 Jun 2024 10:48:08 +0200 Subject: [PATCH 01/12] arm64: dts: amlogic: meson-g12b-bananapi: remove invalid fan on wrong pwm_cd controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240606-topic-amlogic-upstream-bindings-fixes-dts-v1-1-62e812729541@linaro.org> References: <20240606-topic-amlogic-upstream-bindings-fixes-dts-v1-0-62e812729541@linaro.org> In-Reply-To: <20240606-topic-amlogic-upstream-bindings-fixes-dts-v1-0-62e812729541@linaro.org> To: Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1595; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=sNilSTNy7onJWc0uTbgdd1uABdsGCQf5JooGVu7ReN0=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBmYXfKQPRopuS1pMiyV9+ZLfIj26wDhYO3PqW1iXz2 +i3LHL6JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZmF3ygAKCRB33NvayMhJ0VkRD/ 99mZuq73pGJa/SRpIhLugkV4LvE3hGxTpfUwrwtJN1NP5QpuMWc49wdVZzkQK3FoVWTZt4KoTdZHdZ yYfUTimcGVwuawK1TQ4taISgd1GKmnp1xUWGpuDSL9OrAM95eIZgb12bcb4txpN4aVpQpkitda77h7 tF/2q+427ZwOP6+wToxyEafMcpw9VC+2ZZv63aP+FOEKs5W8AtZZqIKV6dNUcbaBEYvUjD1Cqy4GQf /VOcwTBM1m8KEEnq3dlTUc4oaHJLwdAc/LJKGjK57X8cJKnd/teem9kTtAeIvnL9vrEmTgdsH6mqLh NfizZqa9NBmVE4TRkU+NsA88+nIL933VVUGF4U3xA0ykMC+4siGZeElFIOlyB6DuW/fi21f40LHtBe vdCySEGWcmntFSAeRTOSau3MjQfEzoaX9z2WUKCwef2Zq5Qm72Aq38DGDtPrg1RmXu/DapWXnA3paL CEhwYqrnPnte4B/F7lF2vj4MIjEc3PXQAWYMvMcuZOj0X5ffT0hA2I3xgmq9GtSQJ+MaVL8fT9iOdu DniQwCaPFLKpD2Y4pGdX6uqDXMyqS3C4oYAC2rCACX3YiwW9bvS6v/VuOemCemYG0nORXWER0EwtNy 0qdt0PSZ65lEJiH5+9qWizGRVQeP9ZFgK4QEEu5LA41CEYN/sspZGpuXdbsQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE The fan is connected to the GPIOAO_10 pin, which can be connected to the pwm_AO_cd controller, but this one is already used for the vddcpu_b regulator. The fan was wrongly described as using the pwm_cd with the invalid "pwm-gpios" property, both are wrong so remove the fan until we find an acceptable solution. This fixes the following error: pwm@1a000: 'pwm-gpios' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/pwm/pwm-amlogic.yaml# Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi index 4b8db872bbf3..6a346cb86a53 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-bananapi.dtsi @@ -44,13 +44,6 @@ emmc_pwrseq: emmc-pwrseq { reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; }; - fan0: pwm-fan { - compatible = "pwm-fan"; - #cooling-cells = <2>; - cooling-levels = <0 120 170 220>; - pwms = <&pwm_cd 1 40000 0>; - }; - hdmi-connector { compatible = "hdmi-connector"; type = "a"; @@ -374,13 +367,6 @@ &pwm_ab { clock-names = "clkin0"; }; -&pwm_cd { - status = "okay"; - pinctrl-0 = <&pwm_d_x6_pins>; - pinctrl-names = "default"; - pwm-gpios = <&gpio GPIOAO_10 GPIO_ACTIVE_HIGH>; -}; - &pwm_ef { status = "okay"; pinctrl-0 = <&pwm_e_pins>; -- 2.34.1