From patchwork Fri Dec 17 09:54:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 12696596 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 3DE43C4332F for ; Fri, 17 Dec 2021 09:55:40 +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:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GfuQrylBf9JMSMF3z4i5LGqztckQK0L6SnthE6YRffI=; b=Fu9SpONA+ZsOtF n+7CLxqUZrvzTTfT9+Szu5jRtKpsq9MOMM9aQy5JBz9unpimvRNDsyfINYE5NTY1Fk/eFx1+/BTIe qijK6KOR+LHHjAc3fTD6wM3jw751Dz9Wy3z6qG7VmvsuHTZiw+PS8VBz23ZZgNrFCwMxyRif2H9rj Ri9n60+lc5AWtE6Hb3uxfx1N4oOaUdmvT+n93wQ+iXz43nr7E9fNV72Xa5VegHUtmDvgubDbPkS3y J4N06BXIIGZH5Tr1toqwxNe4Y60unFBqagz/WjELuH7DuNzGbbBBmNrGcqQiItoeiLR6tOflr98Sa mPKI4VOTxsVe5973SVKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1my9wU-009KYU-9r; Fri, 17 Dec 2021 09:54:22 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1my9wP-009KWG-Qo for linux-arm-kernel@lists.infradead.org; Fri, 17 Dec 2021 09:54:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1639734857; x=1671270857; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wO2KKCXxlXStgs3eWnLuIPaVW795Idp5jp+RuEzWNIA=; b=J4u0uWGqMvLgevtEnk0p7/YP/wPQETDqxg2UX7lZCOUPGoABkdAVulPm I1vMoWeiOxLC25f6HiFKV55UQAPCqO4tDMsb/iiV3g1S3+gxUboneC5uV iHvctGDaXWm447l+iJHOdGkbzeEVI1D2Wby9JKVDsRkJrXImgjLe6DAeJ SDVlgVbtDu18JpAlOpkeX5b5aZspiFMKdrAip7NZ3nJGZH4mrgCkqNWEC 2QUSo3LcPNXHsvEyLyjQrZ4FC7S0z2emgBgN5202Lw7qnZwLPYazDmEaS HX4vIdKqMix+Ncayua+0z3TMGGeEPDMIReNt4sI+MGm9TU3YVlseqCcCX A==; IronPort-SDR: /0TJOSSrtQL1XBs7Bi2sytRzWGwr9kW/PhQgCzTh20cizMmDuT92N2+w/KdB+wvtO+jZnrKpWd fxXs36bGEgYmaXlfco7JVDbNq/fTIa98OgZLJB5EAZCvBuXYedvbaWBQaMr1RfQQ8i6rEq4W9N OkQT990X8k4TFV+hVz4uDq7wlGoMJ80JcSsvFSqZB7WIdBg15bbLm77FYKzFzTe9U79wwWND4W ou1kyaxQQb0uBUIo06EK44U2az/eqzLEgbXI/ma/P7/dQ+7Uziaj71SogL8abRfPmq6l6/uEmy Eno+PY6x92meSW+s48EeDlCh X-IronPort-AV: E=Sophos;i="5.88,213,1635231600"; d="scan'208";a="155858690" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Dec 2021 02:54:15 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 17 Dec 2021 02:54:15 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 17 Dec 2021 02:54:11 -0700 From: Eugen Hristev To: , CC: , , , , "Eugen Hristev" Subject: [PATCH] dt-bindings: iio: adc: atmel, sama5d2-adc: make atmel, trigger-edge-type non-mandatory Date: Fri, 17 Dec 2021 11:54:01 +0200 Message-ID: <20211217095401.583821-1-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211217_015417_900157_C8CDFCE5 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. 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 The atmel,trigger-edge-type was never imposed by the driver. Make things right and remove this property from the mandatory list. This will not break existing nodes because according to the binding they should have this property. However, the driver does not impose it and it works without it, the property selects the trigger type, and without it, the driver will have no trigger available, which is the case on some boards which do not have access to the trigger pin. This will avoid generating this warning for example: */arch/arm/boot/dts/at91-sama7g5ek.dt.yaml: adc@e1000000: 'atmel,trigger-edge-type' is a required property From schema: */Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml Signed-off-by: Eugen Hristev Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml b/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml index efed361215b4b..482d80dd43b5f 100644 --- a/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/atmel,sama5d2-adc.yaml @@ -72,7 +72,6 @@ required: - atmel,min-sample-rate-hz - atmel,max-sample-rate-hz - atmel,startup-time-ms - - atmel,trigger-edge-type examples: - |